# HG changeset patch # User Kim Alvefur # Date 1491066255 -7200 # Node ID bd3527198308acc3c1bfa4ad356c08893d258286 # Parent e859f279add49d1dee2abfea1384df32b5d6eb72 mod_offline: Include timestamp and empty 'with' diff -r e859f279add4 -r bd3527198308 plugins/mod_offline.lua --- a/plugins/mod_offline.lua Sat Apr 01 19:02:27 2017 +0200 +++ b/plugins/mod_offline.lua Sat Apr 01 19:04:15 2017 +0200 @@ -24,7 +24,7 @@ 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)