# HG changeset patch # User Kim Alvefur # Date 1479462267 -3600 # Node ID 92b6aa3ea2cecb54f754343b2bf0ce7ebb1a2320 # Parent f3e1925f29c23b5bcf9a9ae788abf18716186e31 mod_mam: Decrease priority to zero diff -r f3e1925f29c2 -r 92b6aa3ea2ce plugins/mod_mam/mod_mam.lua --- 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