aboutsummaryrefslogtreecommitdiff
path: root/include/mod_offline.hrl
blob: c4c70604a7e8c3d1ffc68ec1090f4fa9290231b8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
-record(offline_msg,
	{us = {<<"">>, <<"">>} :: {binary(), binary()},
	 timestamp = now()     :: erlang:timestamp() | '_',
	 expire = now()        :: erlang:timestamp() | never | '_',
	 from = #jid{}         :: jid() | '_',
	 to = #jid{}           :: jid() | '_',
	 packet = #xmlel{}     :: xmlel() | '_'}).

-record(state,
	{host = <<"">> :: binary(),
	 access_max_offline_messages}).