25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-26 17:38:45 +01:00

Fix Dialyzer warning that jid can't be 'undefined'

This commit is contained in:
Badlop 2020-03-18 12:02:16 +01:00
parent d8899ca9ac
commit 260c289d34

View File

@ -268,7 +268,7 @@ is_received_muc_invite(Msg, received) ->
#muc_user{invites = [_|_]} ->
true;
_ ->
xmpp:has_subtag(Msg, #x_conference{})
xmpp:has_subtag(Msg, #x_conference{jid = jid:make(<<"">>)})
end.
-spec is_received_muc_pm(jid(), message(), direction()) -> boolean().