Wed, 10 Nov 2010 05:31:19 +0500
MUC: Return true from the stanza handler to suppress error responses.
plugins/muc/mod_muc.lua | file | annotate | diff | comparison | revisions |
--- a/plugins/muc/mod_muc.lua Wed Nov 10 05:30:46 2010 +0500 +++ b/plugins/muc/mod_muc.lua Wed Nov 10 05:31:19 2010 +0500 @@ -147,10 +147,11 @@ origin.send(st.error_reply(stanza, "cancel", "not-allowed")); end else --[[not for us?]] end - return; + return true; end -- to the main muc domain handle_to_domain(origin, stanza); + return true; end module:hook("iq/bare", stanza_handler); module:hook("message/bare", stanza_handler);