mod_mam/mod_mam.lua
changeset 2715 ff1f7e61517f
parent 2666 2d5e0e2938d1
child 2728 9f17d0f28d77
--- a/mod_mam/mod_mam.lua	Thu Apr 27 19:55:18 2017 +0200
+++ b/mod_mam/mod_mam.lua	Fri Apr 28 12:09:51 2017 +0100
@@ -386,11 +386,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_mam0); -- COMPAT with XEP-0313 v 0.1