mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-19 21:17:54 +01:00
closes #6501
This commit is contained in:
@@ -248,6 +248,10 @@ module.exports = function (Messaging) {
|
||||
}
|
||||
db.setObjectField('chat:room:' + roomId, 'roomName', newName, next);
|
||||
},
|
||||
async.apply(plugins.fireHook, 'action:chat.renameRoom', {
|
||||
id: roomId,
|
||||
name: newName,
|
||||
}),
|
||||
], callback);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user