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:
parent
d8899ca9ac
commit
260c289d34
@ -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().
|
||||
|
Loading…
Reference in New Issue
Block a user