diff --git a/server/publications/room/emitter.js b/server/publications/room/emitter.js index 82a489e12096..ad5dabb524fe 100644 --- a/server/publications/room/emitter.js +++ b/server/publications/room/emitter.js @@ -26,7 +26,7 @@ Rooms.on('change', ({ clientAction, id, data }) => { return; } if (clientAction === 'removed') { - getSubscriptions(clientAction, id).forEach(({ u }) => { + getSubscriptions(id).forEach(({ u }) => { Notifications.notifyUserInThisInstance( u._id, 'rooms-changed',