mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-04-08 21:49:31 +02: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