# HG changeset patch # User Stephen Paul Weber # Date 1779200106 18000 # Node ID 03c80b7308bf61f6a8fd5d7c1212524fb0034378 # Parent 7cb25e7d945d3881052ab9c03a4575684a77c569 mod_muc_mav: stanza attribute cannot be a boolean diff -r 7cb25e7d945d -r 03c80b7308bf mod_muc_mav/mod_muc_mav.lua --- a/mod_muc_mav/mod_muc_mav.lua Mon May 18 10:23:58 2026 -0500 +++ b/mod_muc_mav/mod_muc_mav.lua Tue May 19 09:15:06 2026 -0500 @@ -18,7 +18,7 @@ for jid, affiliation, affiliation_data in room:each_affiliation() do table.insert(jid_affiliations, jid.."\0"..affiliation); local occupant_id = room:get_occupant_id_from_jid(jid); - local nick = affiliation_data and affiliation_data.reserved_nickname; + local nick = affiliation_data and affiliation_data.reserved_nickname or nil; local show_jid = not room:is_anonymous_for(from) or util_jid.bare(from) == jid and jid or nil x:tag("item", {affiliation = affiliation or "none"; jid = show_jid; nick = nick;}) :tag("occupant-id", { xmlns = xmlns_occupant_id, id = occupant_id }):up():up();