# HG changeset patch # User Matthew Wild # Date 1611759150 0 # Node ID 31470a2568519ccdaab181f9b2f0a4a7978d129d # Parent 85c11eb4331baf0cb06377c9579e5f8d4e099dac mod_groups_internal: Prep MUC JID before exposing/storing it (just in case) diff -r 85c11eb4331b -r 31470a256851 mod_groups_internal/mod_groups_internal.lua --- a/mod_groups_internal/mod_groups_internal.lua Wed Jan 27 08:16:26 2021 +0000 +++ b/mod_groups_internal/mod_groups_internal.lua Wed Jan 27 14:52:30 2021 +0000 @@ -113,7 +113,7 @@ return nil, "internal-server-error" end - muc_jid = id.short() .. "@" .. muc_host_name + muc_jid = jid.prep(id.short() .. "@" .. muc_host_name); room = muc_host.create_room(muc_jid) if not room then delete_group(group_id)