Merge 0.10->trunk
[prosody.git] / plugins / mod_offline.lua
index c168711b65d381606d6ed6e6be72f2f5ac782039..08ab8490bbc90a8743b1c91cf068a4466ccb49f1 100644 (file)
@@ -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);