aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2020-03-18 12:02:16 +0100
committerBadlop <badlop@process-one.net>2020-03-18 12:02:16 +0100
commit260c289d34acbb32fc607d8f1f0bca4dfc5e020d (patch)
treeecd469cd43d6b257be5c82fe15fe4944bc221223 /src
parentAdd cache to mod_shared_roster (diff)
Fix Dialyzer warning that jid can't be 'undefined'
Diffstat (limited to 'src')
-rw-r--r--src/mod_carboncopy.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_carboncopy.erl b/src/mod_carboncopy.erl
index d62a13336..57d4d75a8 100644
--- a/src/mod_carboncopy.erl
+++ b/src/mod_carboncopy.erl
@@ -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().