Skip to content
Snippets Groups Projects
Commit ee3d6a0a authored by Joao Siebel's avatar Joao Siebel
Browse files

Clear private messages on meeting end

parent 1ea076a9
No related branches found
No related tags found
No related merge requests found
......@@ -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})`);
});
}
......
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