From 5eeec6f47094b8e21fa5895378a4f39461c42e1b Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Fri, 11 May 2018 10:24:58 -0400 Subject: [PATCH] closes #6501 --- src/messaging/rooms.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/messaging/rooms.js b/src/messaging/rooms.js index 1bdbd3cef4..a136009d74 100644 --- a/src/messaging/rooms.js +++ b/src/messaging/rooms.js @@ -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); };