Software /
code /
prosody
Changeset
6834:750a97b45f88
mod_offline: Decrease priority of event handlers so 3rd party hooks fire first by default
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 16 Sep 2015 15:18:30 +0200 |
parents | 6833:aeb088bb1a20 |
children | 6835:3afb8aa78069 6837:13b44929ae49 |
files | plugins/mod_offline.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_offline.lua Wed Sep 16 15:16:51 2015 +0200 +++ b/plugins/mod_offline.lua Wed Sep 16 15:18:30 2015 +0200 @@ -30,7 +30,7 @@ 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 @@ end datamanager.list_store(node, host, "offline", nil); return true; -end); +end, -1);