From 69be0abdba00055ddfb14393cbf8a9175675dec8 Mon Sep 17 00:00:00 2001 From: Badlop Date: Wed, 17 Feb 2021 16:25:41 +0100 Subject: [PATCH] Fix Dialyzer warning about function contract that changed in fad14ff31 --- src/mod_privacy.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod_privacy.erl b/src/mod_privacy.erl index aabed421f..4f15b80c4 100644 --- a/src/mod_privacy.erl +++ b/src/mod_privacy.erl @@ -612,7 +612,7 @@ do_check_packet(#jid{luser = LUser, lserver = LServer}, List, Packet, Dir) -> -spec check_packet_aux([listitem()], message | iq | presence_in | presence_out | other, - ljid(), none | {none | both | from | to, [binary()]}) -> + ljid(), [binary()] | {none | both | from | to, [binary()]}) -> allow | deny. %% Ptype = message | iq | presence_in | presence_out | other check_packet_aux([], _PType, _JID, _RosterInfo) ->