Comparison

plugins/mod_offline.lua @ 8039:1f4bd8009961

Merge 0.10->trunk
author Kim Alvefur <zash@zash.se>
date Sat, 01 Apr 2017 21:48:54 +0200
parent 8030:bd3527198308
child 10242:7e5d2a6c9390
comparison
equal deleted inserted replaced
8028:adfc7f3b29ce 8039:1f4bd8009961
22 node = jid_split(to) 22 node = jid_split(to)
23 else 23 else
24 node = origin.username; 24 node = origin.username;
25 end 25 end
26 26
27 return offline_messages:append(node, nil, stanza); 27 return offline_messages:append(node, nil, stanza, os.time(), "");
28 end, -1); 28 end, -1);
29 29
30 module:hook("message/offline/broadcast", function(event) 30 module:hook("message/offline/broadcast", function(event)
31 local origin = event.origin; 31 local origin = event.origin;
32 32