Changeset

7840:92b6aa3ea2ce

mod_mam: Decrease priority to zero
author Kim Alvefur <zash@zash.se>
date Fri, 18 Nov 2016 10:44:27 +0100
parents 7839:f3e1925f29c2
children 7841:ca3bdb606b1f
files plugins/mod_mam/mod_mam.lua
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_mam/mod_mam.lua	Fri Nov 04 13:59:49 2016 +0100
+++ b/plugins/mod_mam/mod_mam.lua	Fri Nov 18 10:44:27 2016 +0100
@@ -319,11 +319,11 @@
 end
 
 -- Stanzas sent by local clients
-module:hook("pre-message/bare", c2s_message_handler, 2);
-module:hook("pre-message/full", c2s_message_handler, 2);
+module:hook("pre-message/bare", c2s_message_handler, 0);
+module:hook("pre-message/full", c2s_message_handler, 0);
 -- Stanszas to local clients
-module:hook("message/bare", message_handler, 2);
-module:hook("message/full", message_handler, 2);
+module:hook("message/bare", message_handler, 0);
+module:hook("message/full", message_handler, 0);
 
 module:add_feature(xmlns_mam); -- COMPAT with XEP-0313 v 0.1