mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
mod_offline: Include timestamp and empty 'with'
This commit is contained in:
parent
861400522c
commit
8a3ee64310
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue