comparison plugins/mod_carbons.lua @ 7719:17c7e3ac47f7

Merge 0.10->trunk
author Kim Alvefur <zash@zash.se>
date Thu, 17 Nov 2016 23:20:41 +0100
parents c58075c4d375
children 63f50a84318f
comparison
equal deleted inserted replaced
7717:9c8eb0239eef 7719:17c7e3ac47f7
98 local function c2s_message_handler(event) 98 local function c2s_message_handler(event)
99 return message_handler(event, true) 99 return message_handler(event, true)
100 end 100 end
101 101
102 -- Stanzas sent by local clients 102 -- Stanzas sent by local clients
103 module:hook("pre-message/host", c2s_message_handler, 1); 103 module:hook("pre-message/host", c2s_message_handler, -0.5);
104 module:hook("pre-message/bare", c2s_message_handler, 1); 104 module:hook("pre-message/bare", c2s_message_handler, -0.5);
105 module:hook("pre-message/full", c2s_message_handler, 1); 105 module:hook("pre-message/full", c2s_message_handler, -0.5);
106 -- Stanzas to local clients 106 -- Stanzas to local clients
107 module:hook("message/bare", message_handler, 1); 107 module:hook("message/bare", message_handler, -0.5);
108 module:hook("message/full", message_handler, 1); 108 module:hook("message/full", message_handler, -0.5);
109 109
110 module:add_feature(xmlns_carbons); 110 module:add_feature(xmlns_carbons);