aboutsummaryrefslogtreecommitdiff
path: root/include/mod_mam.hrl
diff options
context:
space:
mode:
Diffstat (limited to 'include/mod_mam.hrl')
-rw-r--r--include/mod_mam.hrl12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/mod_mam.hrl b/include/mod_mam.hrl
index 0d03014ad..6ed6f84bf 100644
--- a/include/mod_mam.hrl
+++ b/include/mod_mam.hrl
@@ -19,12 +19,12 @@
%%%----------------------------------------------------------------------
-record(archive_msg,
- {us = {<<"">>, <<"">>} :: {binary(), binary()} | '$2',
- id = <<>> :: binary() | '_',
- timestamp = erlang:timestamp() :: erlang:timestamp() | '_' | '$1',
- peer = {<<"">>, <<"">>, <<"">>} :: ljid() | '_' | '$3' | undefined,
- bare_peer = {<<"">>, <<"">>, <<"">>} :: ljid() | '_' | '$3',
- packet = #xmlel{} :: xmlel() | message() | '_',
+ {us = {<<"">>, <<"">>} :: {binary(), binary()},
+ id = <<>> :: binary(),
+ timestamp = erlang:timestamp() :: erlang:timestamp(),
+ peer = {<<"">>, <<"">>, <<"">>} :: ljid() | undefined,
+ bare_peer = {<<"">>, <<"">>, <<"">>} :: ljid(),
+ packet = #xmlel{} :: xmlel() | message(),
nick = <<"">> :: binary(),
type = chat :: chat | groupchat}).