updated properties to match other similar calls

re: 
v1.18.x
Julian Lam
parent 5eeec6f470
commit 71c8a78748

@ -249,8 +249,8 @@ module.exports = function (Messaging) {
db.setObjectField('chat:room:' + roomId, 'roomName', newName, next); db.setObjectField('chat:room:' + roomId, 'roomName', newName, next);
}, },
async.apply(plugins.fireHook, 'action:chat.renameRoom', { async.apply(plugins.fireHook, 'action:chat.renameRoom', {
id: roomId, roomId: roomId,
name: newName, newName: newName,
}), }),
], callback); ], callback);
}; };

Loading…
Cancel
Save