Comparison

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
parent 620:648e75c9d3e7
child 634:061584efe82f
comparison
equal deleted inserted replaced
620:648e75c9d3e7 621:7bdd02056e2b
245 local function c2s_message_handler(event) 245 local function c2s_message_handler(event)
246 return message_handler(event, true); 246 return message_handler(event, true);
247 end 247 end
248 248
249 -- Stanzas sent by local clients 249 -- Stanzas sent by local clients
250 module:hook("pre-message/bare", c2s_message_handler, 1); 250 module:hook("pre-message/bare", c2s_message_handler, 2);
251 module:hook("pre-message/full", c2s_message_handler, 1); 251 module:hook("pre-message/full", c2s_message_handler, 2);
252 -- Stanszas to local clients 252 -- Stanszas to local clients
253 module:hook("message/bare", message_handler, 1); 253 module:hook("message/bare", message_handler, 2);
254 module:hook("message/full", message_handler, 1); 254 module:hook("message/full", message_handler, 2);
255 255
256 module:add_feature(xmlns_mam); 256 module:add_feature(xmlns_mam);
257 257