Przeglądaj źródła

Update mod_muc_poltergeist.lua

Add avatar to user context so it is picked by the web interface
master
Maxence Dalmais 5 lat temu
rodzic
commit
4e1f42a665

+ 3
- 1
resources/prosody-plugins/mod_muc_poltergeist.lua Wyświetl plik

@@ -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

Ładowanie…
Anuluj
Zapisz