diff options
author | Paweł Chmielowski <pchmielowski@process-one.net> | 2016-11-22 15:15:16 +0300 |
---|---|---|
committer | Paweł Chmielowski <pchmielowski@process-one.net> | 2016-11-22 15:15:43 +0300 |
commit | 7ffab38b44212688a7269ab0876f29d75f462fce (patch) | |
tree | 97f7634fa5dd8af927127d7ac4ab52b44bdaa69c /include | |
parent | 2786df651aa0d0fbc8aee4a326b55a139f139e84 (diff) |
Remove now() from mod_offline.hrl
Diffstat (limited to 'include')
-rw-r--r-- | include/mod_offline.hrl | 4 |
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() | '_'}). |