소스 검색

Update mod_muc_poltergeist.lua

Add avatar to user context so it is picked by the web interface
master
Maxence Dalmais 5 년 전
부모
커밋
4e1f42a665
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3
    1
      resources/prosody-plugins/mod_muc_poltergeist.lua

+ 3
- 1
resources/prosody-plugins/mod_muc_poltergeist.lua 파일 보기

@@ -221,7 +221,9 @@ function handle_create_poltergeist (event)
221 221
        creator_user = session.jitsi_meet_context_user;
222 222
        creator_group = session.jitsi_meet_context_group;
223 223
     };
224
-
224
+    if avatar ~= nil then
225
+        context.user.avatar = avatar
226
+    end
225 227
     local resources = {};
226 228
     if conversation ~= nil then
227 229
         resources["conversation"] = conversation

Loading…
취소
저장