diff options
author | Kim Alvefur <zash@zash.se> | 2016-11-18 10:44:27 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-11-18 10:44:27 +0100 |
commit | c02ea749092c025a0bcc20c53719a4707f4121fe (patch) | |
tree | 72b5ba2cbc3718b5d6da8be68d4538b7dace6951 /plugins/mod_mam | |
parent | 58cc91cd454783208c1b3a4b73d9f54808b4aef6 (diff) | |
download | prosody-c02ea749092c025a0bcc20c53719a4707f4121fe.tar.gz prosody-c02ea749092c025a0bcc20c53719a4707f4121fe.zip |
mod_mam: Decrease priority to zero
Diffstat (limited to 'plugins/mod_mam')
-rw-r--r-- | plugins/mod_mam/mod_mam.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/mod_mam/mod_mam.lua b/plugins/mod_mam/mod_mam.lua index 0caf4d07..a9c80e73 100644 --- a/plugins/mod_mam/mod_mam.lua +++ b/plugins/mod_mam/mod_mam.lua @@ -319,11 +319,11 @@ if cleanup_after ~= "never" then 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 |