--- a/plugins/mod_carbons.lua Mon Sep 21 23:00:49 2015 +0200
+++ b/plugins/mod_carbons.lua Mon Sep 21 23:06:22 2015 +0200
@@ -14,7 +14,8 @@
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);