# HG changeset patch # User Matthew Wild # Date 1702547053 0 # Node ID 5533c577dd02ad31314922fcede1e661db283ed4 # Parent 174c77da03f55d15b53d265d294e763ce549620f mod_groups_internal: Return group name instead of MUC name if MUC has no name diff -r 174c77da03f5 -r 5533c577dd02 mod_groups_internal/mod_groups_internal.lua --- a/mod_groups_internal/mod_groups_internal.lua Tue Dec 12 19:08:28 2023 +0000 +++ b/mod_groups_internal/mod_groups_internal.lua Thu Dec 14 09:44:13 2023 +0000 @@ -419,7 +419,7 @@ return { id = jid.node(muc_jid); jid = muc_jid; - name = muc_host.get_room_from_jid(muc_jid):get_name(); + name = muc_host.get_room_from_jid(muc_jid):get_name() or group_info.name; }; end); end