Skip to content

Commit

Permalink
Merge pull request #10067 from jfsiebel/clear-pvt-messages-meeting-end
Browse files Browse the repository at this point in the history
Clear private messages on meeting end
  • Loading branch information
antobinary committed Jul 14, 2020
2 parents 1ea076a + ee3d6a0 commit 2ef2c63
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default function clearGroupChatMsg(meetingId, chatId) {
}

if (meetingId) {
return GroupChatMsg.remove({ meetingId, chatId: { $eq: PUBLIC_GROUP_CHAT_ID } }, () => {
return GroupChatMsg.remove({ meetingId }, () => {
Logger.info(`Cleared GroupChatMsg (${meetingId})`);
});
}
Expand Down

0 comments on commit 2ef2c63

Please sign in to comment.