Skip to content
Snippets Groups Projects
Commit b0b386c6 authored by Anton Georgiev's avatar Anton Georgiev
Browse files

add meetingId to chatIds selector

parent 5477ac7b
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ function groupChatMsg(chatsIds) {
timestamp: { $gte: User.authTokenValidatedTime },
$or: [
{ meetingId, chatId: { $eq: PUBLIC_GROUP_CHAT_ID } },
{ chatId: { $in: chatsIds } },
{ meetingId, chatId: { $in: chatsIds } },
],
};
return GroupChatMsg.find(selector);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment