Software /
code /
prosody-modules
Comparison
mod_groups_internal/mod_groups_internal.lua @ 4706:428861d1d1e4
mod_groups_internal: Fix accidental global [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 12 Oct 2021 13:52:12 +0200 |
parent | 4430:71c495fa03f3 |
child | 4707:27f7ed9f50cd |
comparison
equal
deleted
inserted
replaced
4705:ace4f251a64b | 4706:428861d1d1e4 |
---|---|
144 end | 144 end |
145 | 145 |
146 -- TODO: we should probably prohibit changing/removing the MUC JID of | 146 -- TODO: we should probably prohibit changing/removing the MUC JID of |
147 -- an existing group. | 147 -- an existing group. |
148 if info.muc_jid then | 148 if info.muc_jid then |
149 room = muc_host.get_room_from_jid(info.muc_jid); | 149 local room = muc_host.get_room_from_jid(info.muc_jid); |
150 room:set_name(info.name); | 150 room:set_name(info.name); |
151 end | 151 end |
152 | 152 |
153 local ok = group_info_store:set(group_id, info); | 153 local ok = group_info_store:set(group_id, info); |
154 if not ok then | 154 if not ok then |