Fix banned users log
This commit is contained in:
parent
e46e6f4fc4
commit
96bd372f15
@ -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];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user