Tell Dialyzer to not report this warning, as it requires an ejabberd patch

This commit is contained in:
Badlop 2022-08-12 19:12:36 +02:00
parent 12e31364f6
commit 5b1402f033
1 changed files with 2 additions and 0 deletions

View File

@ -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).