diff mod_mam/mod_mam.lua @ 621:7bdd02056e2b

mod_mam: Bumb priority up above carbons, so that archive ids are included
author Kim Alvefur <zash@zash.se>
date Tue, 28 Feb 2012 14:37:42 +0100
parents 648e75c9d3e7
children 061584efe82f
line wrap: on
line diff
--- 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);