diff --git a/packages/rocketchat-e2e/server/index.js b/packages/rocketchat-e2e/server/index.js index 0b5de76d2ef7..ff0b4cf56474 100644 --- a/packages/rocketchat-e2e/server/index.js +++ b/packages/rocketchat-e2e/server/index.js @@ -12,5 +12,5 @@ import './methods/setRoomKeyID'; import './methods/fetchMyKeys'; RocketChat.callbacks.add('afterJoinRoom', (user, room) => { - RocketChat.Notification.notifyRoom('e2e.keyRequest', room._id, room.e2eKeyId); + RocketChat.Notifications.notifyRoom('e2e.keyRequest', room._id, room.e2eKeyId); });