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
commit195c1407b6d3eb2b4f47051eb81a9ddee889c690 (patch)
treeaae43eb039122cfd152c9a26e2f40154cad08440 /plugins/mod_offline.lua
parenta38d2115a2d8d4a2b6e6e0772f345cb7e1201aaf (diff)
parent32bb9cbee2e75029b69367ef3f0d3d76e5dd9f34 (diff)
downloadprosody-195c1407b6d3eb2b4f47051eb81a9ddee889c690.tar.gz
prosody-195c1407b6d3eb2b4f47051eb81a9ddee889c690.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);