diff options
author | Kim Alvefur <zash@zash.se> | 2015-09-22 01:31:52 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2015-09-22 01:31:52 +0200 |
commit | 5dcb0569722d6feea8942fd5acc8af7805060f8b (patch) | |
tree | f6ad57a51df3f189d7ece7f43682e7ccd147537c /plugins/mod_carbons.lua | |
parent | 9b97c52790a17ea25e0e7ab96fe62280e4dbfea8 (diff) | |
parent | 366a13d95f528d6dba5e5ae05910fe6675c28df9 (diff) | |
download | prosody-5dcb0569722d6feea8942fd5acc8af7805060f8b.tar.gz prosody-5dcb0569722d6feea8942fd5acc8af7805060f8b.zip |
Merge 0.10->trunk
Diffstat (limited to 'plugins/mod_carbons.lua')
-rw-r--r-- | plugins/mod_carbons.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/mod_carbons.lua b/plugins/mod_carbons.lua index 9b94d58d..9ef14713 100644 --- a/plugins/mod_carbons.lua +++ b/plugins/mod_carbons.lua @@ -14,7 +14,8 @@ local function toggle_carbons(event) local state = stanza.tags[1].name; module:log("debug", "%s %sd carbons", origin.full_jid, state); origin.want_carbons = state == "enable" and stanza.tags[1].attr.xmlns; - return origin.send(st.reply(stanza)); + origin.send(st.reply(stanza)); + return true; end module:hook("iq-set/self/"..xmlns_carbons..":disable", toggle_carbons); module:hook("iq-set/self/"..xmlns_carbons..":enable", toggle_carbons); |