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 | 8a3ee64310ee3ebc5cb91951b166d0ee4f2410c1 (patch) | |
tree | ee2b3568cfbfb69f1e87a0b161418a12510d1dd2 /plugins/mod_offline.lua | |
parent | 861400522cdc4f22164cdb2f57888a28ae6731bf (diff) | |
download | prosody-8a3ee64310ee3ebc5cb91951b166d0ee4f2410c1.tar.gz prosody-8a3ee64310ee3ebc5cb91951b166d0ee4f2410c1.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) |