Software /
code /
prosody-modules
Changeset
4403:31470a256851
mod_groups_internal: Prep MUC JID before exposing/storing it (just in case)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 27 Jan 2021 14:52:30 +0000 |
parents | 4402:85c11eb4331b |
children | 4404:a5a0b51d26e9 |
files | mod_groups_internal/mod_groups_internal.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)