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
commit2364604bc18ed52d599160a169a465d85a20a0c6 (patch)
tree214a9406424aedff14725baa7b40b5869ccdf1e6 /plugins/mod_offline.lua
parente8b2d9e21f41b2253cbe594bdbc42b2d48ca11cf (diff)
parent67572368f294b4a1f018ab78d42bdf7cf12e7d8c (diff)
downloadprosody-2364604bc18ed52d599160a169a465d85a20a0c6.tar.gz
prosody-2364604bc18ed52d599160a169a465d85a20a0c6.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)