diff options
author | Kim Alvefur <zash@zash.se> | 2015-09-16 15:18:30 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2015-09-16 15:18:30 +0200 |
commit | 32bb9cbee2e75029b69367ef3f0d3d76e5dd9f34 (patch) | |
tree | d71080dbbfab335cf3145eb2af5344d89c6efe2e /plugins/mod_offline.lua | |
parent | 461b90b5b4e90f6af1ea42b3836cd4dbda979606 (diff) | |
download | prosody-32bb9cbee2e75029b69367ef3f0d3d76e5dd9f34.tar.gz prosody-32bb9cbee2e75029b69367ef3f0d3d76e5dd9f34.zip |
mod_offline: Decrease priority of event handlers so 3rd party hooks fire first by default
Diffstat (limited to 'plugins/mod_offline.lua')
-rw-r--r-- | plugins/mod_offline.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_offline.lua b/plugins/mod_offline.lua index c168711b..08ab8490 100644 --- a/plugins/mod_offline.lua +++ b/plugins/mod_offline.lua @@ -30,7 +30,7 @@ module:hook("message/offline/handle", function(event) stanza.attr.stamp, stanza.attr.stamp_legacy = nil, nil; return result; -end); +end, -1); module:hook("message/offline/broadcast", function(event) local origin = event.origin; @@ -48,4 +48,4 @@ module:hook("message/offline/broadcast", function(event) end datamanager.list_store(node, host, "offline", nil); return true; -end); +end, -1); |