add meetingId to chatIds selector
This commit is contained in:
parent
5477ac7bb2
commit
b0b386c690
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user