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:
authorPaweł Chmielowski <pchmielowski@process-one.net>2016-11-22 15:15:16 +0300
committerPaweł Chmielowski <pchmielowski@process-one.net>2016-11-22 15:15:43 +0300
commit7ffab38b44212688a7269ab0876f29d75f462fce (patch)
tree97f7634fa5dd8af927127d7ac4ab52b44bdaa69c /include
parent2786df651aa0d0fbc8aee4a326b55a139f139e84 (diff)
Remove now() from mod_offline.hrl
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() | '_'}).