# HG changeset patch # User Kim Alvefur # Date 1528466577 -7200 # Node ID c47f220580fdef2dba7b2c8e4d2c262c949eec18 # Parent 9aa35cb939acbdb4b2673531e448b61e11340d10 Backed out changeset b8c3dbf76a2e (fixes #1162) This is not required by the XEP and has privacy issues. diff -r 9aa35cb939ac -r c47f220580fd plugins/muc/muc.lib.lua --- a/plugins/muc/muc.lib.lua Fri Jun 08 11:53:10 2018 +0200 +++ b/plugins/muc/muc.lib.lua Fri Jun 08 16:02:57 2018 +0200 @@ -235,11 +235,7 @@ return reply; end function room_mt:get_disco_items(stanza) - local reply = st.reply(stanza):query("http://jabber.org/protocol/disco#items"); - for room_jid in pairs(self._occupants) do - reply:tag("item", {jid = room_jid, name = room_jid:match("/(.*)")}):up(); - end - return reply; + return st.reply(stanza):query("http://jabber.org/protocol/disco#items"); end function room_mt:set_subject(current_nick, subject) if subject == "" then subject = nil; end