Mercurial > prosody-modules
changeset 5825:865c77b5c6dc
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).
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 12 Jan 2024 18:20:40 +0000 |
parents | f1e816df1f73 |
children | 791aa8072f58 |
files | mod_groups_internal/mod_groups_internal.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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