fix: Fix av moderation enable-disable sequence.

When you enable and then disable av-moderation just the audio moderation is disabled and video moderation disabling is not signalled to moderated clients.
This commit is contained in:
Дамян Минков 2021-08-04 09:58:44 -05:00
parent 8161309e28
commit 72d4aa7dd5
1 changed files with 1 additions and 0 deletions

View File

@ -136,6 +136,7 @@ function on_message(event)
room.av_moderation = {};
room.av_moderation_actors = {};
end
room.av_moderation[mediaType] = {};
room.av_moderation_actors[mediaType] = occupant.nick;
end
else