From 5b1402f0335357fda58a4cc41753f51104242446 Mon Sep 17 00:00:00 2001 From: Badlop Date: Fri, 12 Aug 2022 19:12:36 +0200 Subject: [PATCH] Tell Dialyzer to not report this warning, as it requires an ejabberd patch --- mod_filter/src/mod_filter.erl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mod_filter/src/mod_filter.erl b/mod_filter/src/mod_filter.erl index f6c72e0..753ed6b 100644 --- a/mod_filter/src/mod_filter.erl +++ b/mod_filter/src/mod_filter.erl @@ -15,6 +15,8 @@ -include("logger.hrl"). -include_lib("xmpp/include/xmpp.hrl"). +-dialyzer({no_match, [check_stanza_type/2, check_access/1]}). + start(_Host, _Opts) -> ejabberd_hooks:add(filter_packet, global, ?MODULE, filter_packet, 100).