aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mod_mam.hrl2
-rw-r--r--include/mod_muc_room.hrl2
-rw-r--r--include/mod_push.hrl2
3 files changed, 3 insertions, 3 deletions
diff --git a/include/mod_mam.hrl b/include/mod_mam.hrl
index e02b9249d..0d03014ad 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() | '_',
diff --git a/include/mod_muc_room.hrl b/include/mod_muc_room.hrl
index 9111128c0..efb702337 100644
--- a/include/mod_muc_room.hrl
+++ b/include/mod_muc_room.hrl
@@ -113,7 +113,7 @@
history :: lqueue(),
subject = [] :: [text()],
subject_author = <<"">> :: binary(),
- just_created = p1_time_compat:os_system_time(micro_seconds) :: true | integer(),
+ just_created = erlang:system_time(microsecond) :: true | integer(),
activity = treap:empty() :: treap:treap(),
room_shaper = none :: shaper:shaper(),
room_queue :: p1_queue:queue() | undefined
diff --git a/include/mod_push.hrl b/include/mod_push.hrl
index 24f02a3ff..cdd5b0cf6 100644
--- a/include/mod_push.hrl
+++ b/include/mod_push.hrl
@@ -18,7 +18,7 @@
%%%----------------------------------------------------------------------
-record(push_session,
{us = {<<"">>, <<"">>} :: {binary(), binary()},
- timestamp = p1_time_compat:timestamp() :: erlang:timestamp(),
+ timestamp = erlang:timestamp() :: erlang:timestamp(),
service = {<<"">>, <<"">>, <<"">>} :: ljid(),
node = <<"">> :: binary(),
xml :: undefined | xmlel()}).