diff options
author | Kim Alvefur <zash@zash.se> | 2016-11-17 22:38:46 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-11-17 22:38:46 +0100 |
commit | a89c193bb2127ba3c7756bfb8a9687ac2f944821 (patch) | |
tree | 312c24599e188b13fee7e047cf2c478c6855d2d7 /plugins/mod_message.lua | |
parent | 02919f09518951d7561b8adbb843e88c6fc262ac (diff) | |
download | prosody-a89c193bb2127ba3c7756bfb8a9687ac2f944821.tar.gz prosody-a89c193bb2127ba3c7756bfb8a9687ac2f944821.zip |
mod_message, mod_carbons: Adjust event hook priorities to negative (core modules should do this to make overriding from other modules easier)
Diffstat (limited to 'plugins/mod_message.lua')
-rw-r--r-- | plugins/mod_message.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_message.lua b/plugins/mod_message.lua index fc337db0..47da5f46 100644 --- a/plugins/mod_message.lua +++ b/plugins/mod_message.lua @@ -73,13 +73,13 @@ module:hook("message/full", function(data) else -- resource not online return process_to_bare(jid_bare(stanza.attr.to), origin, stanza); end -end); +end, -1); module:hook("message/bare", function(data) -- message to bare JID recieved local origin, stanza = data.origin, data.stanza; return process_to_bare(stanza.attr.to or (origin.username..'@'..origin.host), origin, stanza); -end); +end, -1); module:add_feature("msgoffline"); |