Software /
code /
prosody
Changeset
8887:c47f220580fd
Backed out changeset b8c3dbf76a2e (fixes #1162)
This is not required by the XEP and has privacy issues.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 08 Jun 2018 16:02:57 +0200 |
parents | 8886:9aa35cb939ac |
children | 8888:cbcac5b9b7ce 8897:102242a7ee60 |
files | plugins/muc/muc.lib.lua |
diffstat | 1 files changed, 1 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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