Skip to content

Commit 60e1452

Browse files
author
Marcos Spessatto Defendi
authored
Priority system messages were always created (#17479)
1 parent 5c993fe commit 60e1452

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/livechat/server/methods/saveInfo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Meteor.methods({
2929
livechatData: Match.Optional(Object),
3030
}));
3131

32-
const room = LivechatRooms.findOneById(roomData._id, { t: 1, servedBy: 1 });
32+
const room = LivechatRooms.findOneById(roomData._id);
3333
if (room == null || room.t !== 'l') {
3434
throw new Meteor.Error('error-invalid-room', 'Invalid room', { method: 'livechat:saveInfo' });
3535
}

0 commit comments

Comments
 (0)