瀏覽代碼

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…
取消
儲存