From 71c8a7874863bc5a326b36d56d21a3aec39a16c3 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Fri, 11 May 2018 10:26:50 -0400 Subject: [PATCH] updated properties to match other similar calls re: #6501 --- src/messaging/rooms.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/messaging/rooms.js b/src/messaging/rooms.js index a136009d74..721076224d 100644 --- a/src/messaging/rooms.js +++ b/src/messaging/rooms.js @@ -249,8 +249,8 @@ module.exports = function (Messaging) { db.setObjectField('chat:room:' + roomId, 'roomName', newName, next); }, async.apply(plugins.fireHook, 'action:chat.renameRoom', { - id: roomId, - name: newName, + roomId: roomId, + newName: newName, }), ], callback); };