summaryrefslogtreecommitdiff
path: root/src/mod_mam.erl
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2015-12-08 22:21:39 +0100
committerHolger Weiss <holger@zedat.fu-berlin.de>2015-12-08 22:21:39 +0100
commit325c17f277fa8c4f5c33a6e26acbfcd9d25197f9 (patch)
tree4c547ca577fe9953b6df2dab8336f3df8422e3e0 /src/mod_mam.erl
parentmod_mam: Remove unused code (diff)
mod_mam: Update record field type
Diffstat (limited to 'src/mod_mam.erl')
-rw-r--r--src/mod_mam.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_mam.erl b/src/mod_mam.erl
index 0e1dbf30..cfc1e213 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(),