Hi,
I found this code in the community, which automatically turns the lobby function on whenever a meeting starts.
Here is the hook code:
host_module:hook(‘muc-set-affiliation’, function(event)
if jid_split(event.jid) ~= ‘focus’ and event.affiliation == ‘owner’ then
handle_create_lobby(event);
end
end);
Please, can anyone tell exactly where I need to add this code, can you give me the path how I can get there.
@Giri-sh-irke , please can you help?
Thanks a lot in advance.