# HG changeset patch # User Matthew Wild # Date 1705083640 0 # Node ID 865c77b5c6dc4426bc67f248d98b23da5afe8146 # Parent f1e816df1f735e1eaca0dc5e26bb724ee09fda8a mod_groups_internal: Add flag to indicate when a linked MUC has been deleted In theory this shouldn't happen, but it could (and apparently does). diff -r f1e816df1f73 -r 865c77b5c6dc mod_groups_internal/mod_groups_internal.lua --- a/mod_groups_internal/mod_groups_internal.lua Fri Jan 12 18:19:56 2024 +0000 +++ b/mod_groups_internal/mod_groups_internal.lua Fri Jan 12 18:20:40 2024 +0000 @@ -464,6 +464,7 @@ id = jid.node(muc_jid); jid = muc_jid; name = room and room:get_name() or group_info.name; + deleted = not room or room._data.destroyed; }; end); end