aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_carbons.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-11-17 23:20:41 +0100
committerKim Alvefur <zash@zash.se>2016-11-17 23:20:41 +0100
commitfd894fe73e9890435a1c0ec97b660c888ac38e3b (patch)
treeb62d53ea2041a4fa193e4b0c160fc308c8151b8a /plugins/mod_carbons.lua
parentbeb642888ec3e3c27d96f6e4cf969033b8495d8e (diff)
parentd494870913b1789d0313681ff74c0954a4bde3df (diff)
downloadprosody-fd894fe73e9890435a1c0ec97b660c888ac38e3b.tar.gz
prosody-fd894fe73e9890435a1c0ec97b660c888ac38e3b.zip
Merge 0.10->trunk
Diffstat (limited to 'plugins/mod_carbons.lua')
-rw-r--r--plugins/mod_carbons.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/mod_carbons.lua b/plugins/mod_carbons.lua
index 4d8175ef..4984b908 100644
--- a/plugins/mod_carbons.lua
+++ b/plugins/mod_carbons.lua
@@ -100,11 +100,11 @@ local function c2s_message_handler(event)
end
-- Stanzas sent by local clients
-module:hook("pre-message/host", c2s_message_handler, 1);
-module:hook("pre-message/bare", c2s_message_handler, 1);
-module:hook("pre-message/full", c2s_message_handler, 1);
+module:hook("pre-message/host", c2s_message_handler, -0.5);
+module:hook("pre-message/bare", c2s_message_handler, -0.5);
+module:hook("pre-message/full", c2s_message_handler, -0.5);
-- Stanzas to local clients
-module:hook("message/bare", message_handler, 1);
-module:hook("message/full", message_handler, 1);
+module:hook("message/bare", message_handler, -0.5);
+module:hook("message/full", message_handler, -0.5);
module:add_feature(xmlns_carbons);