Changeset

8030:bd3527198308

mod_offline: Include timestamp and empty 'with'
author Kim Alvefur <zash@zash.se>
date Sat, 01 Apr 2017 19:04:15 +0200
parents 8029:e859f279add4
children 8031:ef838b7f8f53
files plugins/mod_offline.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)