aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-04-01 19:04:15 +0200
committerKim Alvefur <zash@zash.se>2017-04-01 19:04:15 +0200
commit0e5546ccf1433220ef102f4da71eaa9b1880a074 (patch)
treeee2b3568cfbfb69f1e87a0b161418a12510d1dd2 /plugins
parent1113bbdf2251634e053c1bda389b472ffdc6f733 (diff)
downloadprosody-0e5546ccf1433220ef102f4da71eaa9b1880a074.tar.gz
prosody-0e5546ccf1433220ef102f4da71eaa9b1880a074.zip
mod_offline: Include timestamp and empty 'with'
Diffstat (limited to 'plugins')
-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)