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