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