aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_offline.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-04-01 21:48:54 +0200
committerKim Alvefur <zash@zash.se>2017-04-01 21:48:54 +0200
commitdfbcefb210b58d48efef68016ba296323a193a88 (patch)
tree214a9406424aedff14725baa7b40b5869ccdf1e6 /plugins/mod_offline.lua
parentf5870a4c795d56a3168b68e39071a0dfa6c1704d (diff)
parent3a21f5ef657102cd253d852cea0b511b24126a11 (diff)
downloadprosody-dfbcefb210b58d48efef68016ba296323a193a88.tar.gz
prosody-dfbcefb210b58d48efef68016ba296323a193a88.zip
Merge 0.10->trunk
Diffstat (limited to 'plugins/mod_offline.lua')
-rw-r--r--plugins/mod_offline.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_offline.lua b/plugins/mod_offline.lua
index fe4df573..487098d1 100644
--- a/plugins/mod_offline.lua
+++ b/plugins/mod_offline.lua
@@ -24,7 +24,7 @@ module:hook("message/offline/handle", function(event)
node = origin.username;
end
- return offline_messages:append(node, nil, stanza);
+ return offline_messages:append(node, nil, stanza, os.time(), "");
end, -1);
module:hook("message/offline/broadcast", function(event)