Software /
code /
prosody-modules
Comparison
mod_groups_internal/mod_groups_internal.lua @ 4405:76d045f76f65
mod_groups_internal: Fix incorrect function name
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 27 Jan 2021 14:55:55 +0000 |
parent | 4404:a5a0b51d26e9 |
child | 4406:d86592775a20 |
comparison
equal
deleted
inserted
replaced
4404:a5a0b51d26e9 | 4405:76d045f76f65 |
---|---|
98 end | 98 end |
99 | 99 |
100 muc_jid = jid.prep(id.short() .. "@" .. muc_host_name); | 100 muc_jid = jid.prep(id.short() .. "@" .. muc_host_name); |
101 room = muc_host.create_room(muc_jid) | 101 room = muc_host.create_room(muc_jid) |
102 if not room then | 102 if not room then |
103 delete_group(group_id) | 103 delete(group_id) |
104 return nil, "internal-server-error" | 104 return nil, "internal-server-error" |
105 end | 105 end |
106 room:set_public(false) | 106 room:set_public(false) |
107 room:set_persistent(true) | 107 room:set_persistent(true) |
108 room:set_members_only(true) | 108 room:set_members_only(true) |