This commit is contained in:
Julian Lam
2018-05-11 10:24:58 -04:00
parent 46b4b716f2
commit 5eeec6f470

View File

@@ -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);
};