25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00
xmpp.chapril.org-ejabberd/include/mod_offline.hrl

12 lines
417 B
Erlang
Raw Normal View History

2015-10-07 00:06:58 +02:00
-record(offline_msg,
{us = {<<"">>, <<"">>} :: {binary(), binary()},
2016-11-22 13:15:16 +01:00
timestamp = p1_time_compat:timestamp() :: erlang:timestamp() | '_',
expire = p1_time_compat:timestamp() :: erlang:timestamp() | never | '_',
2015-10-07 00:06:58 +02:00
from = #jid{} :: jid() | '_',
to = #jid{} :: jid() | '_',
packet = #xmlel{} :: xmlel() | '_'}).
-record(state,
{host = <<"">> :: binary(),
access_max_offline_messages}).