소스 검색

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.
master
Дамян Минков 4 년 전
부모
커밋
72d4aa7dd5
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1
    0
      resources/prosody-plugins/mod_av_moderation_component.lua

+ 1
- 0
resources/prosody-plugins/mod_av_moderation_component.lua 파일 보기

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

Loading…
취소
저장