diff options
author | Badlop <badlop@process-one.net> | 2009-06-30 16:51:25 +0000 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2009-06-30 16:51:25 +0000 |
commit | 49688feaf2c0a942555cae0c6f272d7766a989d7 (patch) | |
tree | 74a41e11737b7075a0305afc614c3c5893ab6db2 /src/mod_offline_odbc.erl | |
parent | Add announcement of offline feature to service discovery (EJAB-234) (diff) |
Add XEP82 Date Time, update XEP202 Entity Time and XEP203 Delayed Delivery (EJAB-234)
SVN Revision: 2345
Diffstat (limited to '')
-rw-r--r-- | src/mod_offline_odbc.erl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mod_offline_odbc.erl b/src/mod_offline_odbc.erl index 9add941df..891ec6419 100644 --- a/src/mod_offline_odbc.erl +++ b/src/mod_offline_odbc.erl @@ -112,6 +112,13 @@ loop(Host, AccessMaxOfflineMsgs) -> Els ++ [jlib:timestamp_to_xml( calendar:now_to_universal_time( + M#offline_msg.timestamp), + utc, + jlib:make_jid("", Host, ""), + "Offline Storage"), + %% TODO: Delete the next three lines once XEP-0091 is Obsolete + jlib:timestamp_to_xml( + calendar:now_to_universal_time( M#offline_msg.timestamp))]}, XML = ejabberd_odbc:escape( |