Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mod_offline.hrl4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mod_offline.hrl b/include/mod_offline.hrl
index c4c70604a..cc644c4c2 100644
--- a/include/mod_offline.hrl
+++ b/include/mod_offline.hrl
@@ -1,7 +1,7 @@
-record(offline_msg,
{us = {<<"">>, <<"">>} :: {binary(), binary()},
- timestamp = now() :: erlang:timestamp() | '_',
- expire = now() :: erlang:timestamp() | never | '_',
+ timestamp = p1_time_compat:timestamp() :: erlang:timestamp() | '_',
+ expire = p1_time_compat:timestamp() :: erlang:timestamp() | never | '_',
from = #jid{} :: jid() | '_',
to = #jid{} :: jid() | '_',
packet = #xmlel{} :: xmlel() | '_'}).