re: #6501
@ -249,8 +249,8 @@ module.exports = function (Messaging) {
db.setObjectField('chat:room:' + roomId, 'roomName', newName, next);
},
async.apply(plugins.fireHook, 'action:chat.renameRoom', {
id: roomId,
name: newName,
roomId: roomId,
newName: newName,
}),
], callback);
};