mod_mam: Bumb priority up above carbons, so that archive ids are included
authorKim Alvefur <zash@zash.se>
Tue, 28 Feb 2012 14:37:42 +0100
changeset 621 7bdd02056e2b
parent 620 648e75c9d3e7
child 622 ce39df945de1
mod_mam: Bumb priority up above carbons, so that archive ids are included
mod_mam/mod_mam.lua
--- a/mod_mam/mod_mam.lua	Tue Feb 28 14:36:41 2012 +0100
+++ b/mod_mam/mod_mam.lua	Tue Feb 28 14:37:42 2012 +0100
@@ -247,11 +247,11 @@
 end
 
 -- Stanzas sent by local clients
-module:hook("pre-message/bare", c2s_message_handler, 1);
-module:hook("pre-message/full", c2s_message_handler, 1);
+module:hook("pre-message/bare", c2s_message_handler, 2);
+module:hook("pre-message/full", c2s_message_handler, 2);
 -- Stanszas to local clients
-module:hook("message/bare", message_handler, 1);
-module:hook("message/full", message_handler, 1);
+module:hook("message/bare", message_handler, 2);
+module:hook("message/full", message_handler, 2);
 
 module:add_feature(xmlns_mam);