diff options
author | Kim Alvefur <zash@zash.se> | 2017-04-01 19:04:15 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-04-01 19:04:15 +0200 |
commit | 0e5546ccf1433220ef102f4da71eaa9b1880a074 (patch) | |
tree | ee2b3568cfbfb69f1e87a0b161418a12510d1dd2 /plugins/mod_offline.lua | |
parent | 1113bbdf2251634e053c1bda389b472ffdc6f733 (diff) | |
download | prosody-0e5546ccf1433220ef102f4da71eaa9b1880a074.tar.gz prosody-0e5546ccf1433220ef102f4da71eaa9b1880a074.zip |
mod_offline: Include timestamp and empty 'with'
Diffstat (limited to 'plugins/mod_offline.lua')
-rw-r--r-- | plugins/mod_offline.lua | 2 |
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) |