Skip to content

Node.js based forum software built for the modern web

closes #6501

Julian Lam5eeec6f47094
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);
};