Skip to content

Node.js based forum software built for the modern web

updated properties to match other similar calls

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