mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Merge branch 'master' into configure
This commit is contained in:
commit
68a986e2e3
@ -716,8 +716,7 @@ _handle_carbons(xmpp_stanza_t *const stanza)
|
||||
|
||||
Jid *my_jid = jid_create(connection_get_fulljid());
|
||||
const char *const stanza_from = xmpp_stanza_get_from(stanza);
|
||||
Jid *msg_jid = jid_create(stanza_from);
|
||||
if (g_strcmp0(my_jid->barejid, msg_jid->barejid) != 0) {
|
||||
if (g_strcmp0(my_jid->barejid, stanza_from) != 0) {
|
||||
log_warning("Invalid carbon received, from: %s", stanza_from);
|
||||
return TRUE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user