Update mod_muc_poltergeist.lua

Add avatar to user context so it is picked by the web interface
This commit is contained in:
Maxence Dalmais 2020-07-08 10:09:39 +02:00 committed by Дамян Минков
parent 1fff5d2567
commit 4e1f42a665
1 changed files with 3 additions and 1 deletions

View File

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