aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_offline.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2015-09-17 22:15:26 +0200
committerKim Alvefur <zash@zash.se>2015-09-17 22:15:26 +0200
commitca680c0562f7ad2b3754a65481f2a3196825f62e (patch)
treeaae43eb039122cfd152c9a26e2f40154cad08440 /plugins/mod_offline.lua
parent9b46c7aba5e4d842fffbfc4a1e96371ad06e63a1 (diff)
parent7774f56dfc98b7192e9f9c0b32b070a2949f3113 (diff)
downloadprosody-ca680c0562f7ad2b3754a65481f2a3196825f62e.tar.gz
prosody-ca680c0562f7ad2b3754a65481f2a3196825f62e.zip
Merge 0.10->trunk
Diffstat (limited to 'plugins/mod_offline.lua')
-rw-r--r--plugins/mod_offline.lua4
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);