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

Merge pull request #10411 from jfsiebel/banned-users-log

Fix banned users log
parents fac75df1 96bd372f
No related branches found
No related tags found
Loading
......@@ -21,6 +21,7 @@ import clearLocalSettings from '/imports/api/local-settings/server/modifiers/cle
import clearRecordMeeting from './clearRecordMeeting';
import clearVoiceCallStates from '/imports/api/voice-call-states/server/modifiers/clearVoiceCallStates';
import clearVideoStreams from '/imports/api/video-streams/server/modifiers/clearVideoStreams';
import BannedUsers from '/imports/api/users/server/store/bannedUsers';
export default function meetingHasEnded(meetingId) {
removeAnnotationsStreamer(meetingId);
......@@ -44,6 +45,7 @@ export default function meetingHasEnded(meetingId) {
clearRecordMeeting(meetingId);
clearVoiceCallStates(meetingId);
clearVideoStreams(meetingId);
BannedUsers.delete(meetingId);
return Logger.info(`Cleared Meetings with id ${meetingId}`);
});
......
......@@ -7,7 +7,7 @@ class BannedUsers {
}
init(meetingId) {
Logger.debug('BannedUsers :: init', meetingId);
Logger.debug('BannedUsers :: init', { meetingId });
if (!this.store[meetingId]) this.store[meetingId] = new Set();
}
......@@ -20,7 +20,7 @@ class BannedUsers {
}
delete(meetingId) {
Logger.debug('BannedUsers :: delete', meetingId);
Logger.debug('BannedUsers :: delete', { meetingId });
delete this.store[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