From: Holger Weiss Date: Tue, 8 Dec 2015 21:21:39 +0000 (+0100) Subject: mod_mam: Update record field type X-Git-Tag: 16.01~71 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=325c17f277fa8c4f5c33a6e26acbfcd9d25197f9;p=ejabberd mod_mam: Update record field type --- diff --git a/src/mod_mam.erl b/src/mod_mam.erl index 0e1dbf308..cfc1e213f 100644 --- a/src/mod_mam.erl +++ b/src/mod_mam.erl @@ -46,7 +46,7 @@ {us = {<<"">>, <<"">>} :: {binary(), binary()} | '$2', id = <<>> :: binary() | '_', timestamp = p1_time_compat:timestamp() :: erlang:timestamp() | '_' | '$1', - peer = {<<"">>, <<"">>, <<"">>} :: ljid() | '_' | '$3', + peer = {<<"">>, <<"">>, <<"">>} :: ljid() | '_' | '$3' | undefined, bare_peer = {<<"">>, <<"">>, <<"">>} :: ljid() | '_' | '$3', packet = #xmlel{} :: xmlel() | '_', nick = <<"">> :: binary(),