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 | ff9ab39f205a490f3f8593ab3f729fca007e4fba (patch) | |
tree | 72b5ba2cbc3718b5d6da8be68d4538b7dace6951 /plugins/mod_mam | |
parent | e79b9bb726188eced2b8532cef9605f7de83b277 (diff) | |
download | prosody-ff9ab39f205a490f3f8593ab3f729fca007e4fba.tar.gz prosody-ff9ab39f205a490f3f8593ab3f729fca007e4fba.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 |