# HG changeset patch # User Kim Alvefur # Date 1602070584 -7200 # Node ID 818255f49297b290b53de7b5c0c0ab0150a8e057 # Parent a5acd6354845d389e1730f6fcf969300b65c1f6e# Parent 552cafd30eb25a6f831636af636c96faa2fbe172 Merge 0.11->trunk diff -r a5acd6354845 -r 818255f49297 plugins/muc/muc.lib.lua --- a/plugins/muc/muc.lib.lua Mon Oct 05 22:19:55 2020 +0200 +++ b/plugins/muc/muc.lib.lua Wed Oct 07 13:36:24 2020 +0200 @@ -372,12 +372,12 @@ end function room_mt:get_disco_info(stanza) - local node = stanza.tags[1].attr.node or ""; + local node = stanza.tags[1].attr.node; local reply = st.reply(stanza):tag("query", { xmlns = "http://jabber.org/protocol/disco#info", node = node }); local event_name = "muc-disco#info"; local event_data = { room = self, reply = reply, stanza = stanza }; - if node ~= "" then + if node and node ~= "" then event_name = event_name.."/"..node; else event_data.form = dataform.new {