Skip to content
Snippets Groups Projects
Unverified Commit 6b61492e authored by Anton Georgiev's avatar Anton Georgiev Committed by GitHub
Browse files

Merge pull request #12861 from antobinary/chat-selector

fix: Add meetingId to chatIds selector
parents 25d69b9d b0b386c6
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