diff options
author | Paweł Chmielowski <pchmielowski@process-one.net> | 2019-02-27 09:56:20 +0100 |
---|---|---|
committer | Paweł Chmielowski <pchmielowski@process-one.net> | 2019-02-27 09:56:31 +0100 |
commit | 538f35d05a9bb25f24b30ea43b07a36cfc043e12 (patch) | |
tree | edb9621c8b41f5482b6fd9da7871c2b062b00fc8 /include/mod_mam.hrl | |
parent | Remove now() calls that sneaked in in pull requests (diff) |
Replace code using p1_time_compat wrapper with native functions
Since we now require R19, we shouldn't need that anymore.
There are still couple places where p1_time_compat:unique_timestamp() is
used as there is no direct equivalent.
Diffstat (limited to 'include/mod_mam.hrl')
-rw-r--r-- | include/mod_mam.hrl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mod_mam.hrl b/include/mod_mam.hrl index e02b9249..0d03014a 100644 --- a/include/mod_mam.hrl +++ b/include/mod_mam.hrl @@ -21,7 +21,7 @@ -record(archive_msg, {us = {<<"">>, <<"">>} :: {binary(), binary()} | '$2', id = <<>> :: binary() | '_', - timestamp = p1_time_compat:timestamp() :: erlang:timestamp() | '_' | '$1', + timestamp = erlang:timestamp() :: erlang:timestamp() | '_' | '$1', peer = {<<"">>, <<"">>, <<"">>} :: ljid() | '_' | '$3' | undefined, bare_peer = {<<"">>, <<"">>, <<"">>} :: ljid() | '_' | '$3', packet = #xmlel{} :: xmlel() | message() | '_', |