diff options
author | Matthew Wild <mwild1@gmail.com> | 2013-05-16 14:17:25 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2013-05-16 14:17:25 +0100 |
commit | ee62a7ef072922610bcaca96add95d68051ca96e (patch) | |
tree | 639a8b571f975e8308b6585ad29aca448e804013 /plugins/muc/mod_muc.lua | |
parent | a72bd0f76a99b60d73510eb69cd885acec709c79 (diff) | |
download | prosody-ee62a7ef072922610bcaca96add95d68051ca96e.tar.gz prosody-ee62a7ef072922610bcaca96add95d68051ca96e.zip |
mod_muc: Refactor config form handling, and allow for clients to submit incomplete forms. Fixes #246
Diffstat (limited to 'plugins/muc/mod_muc.lua')
-rw-r--r-- | plugins/muc/mod_muc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/mod_muc.lua b/plugins/muc/mod_muc.lua index 0f1beb0e..47809964 100644 --- a/plugins/muc/mod_muc.lua +++ b/plugins/muc/mod_muc.lua @@ -115,7 +115,7 @@ end local function get_disco_items(stanza) local reply = st.iq({type='result', id=stanza.attr.id, from=muc_host, to=stanza.attr.from}):query("http://jabber.org/protocol/disco#items"); for jid, room in pairs(rooms) do - if not room:is_hidden() then + if not room:get_hidden() then reply:tag("item", {jid=jid, name=room:get_name()}):up(); end end |