From 325c17f277fa8c4f5c33a6e26acbfcd9d25197f9 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Tue, 8 Dec 2015 22:21:39 +0100 Subject: [PATCH] mod_mam: Update record field type --- src/mod_mam.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(),