mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-18 16:16:21 +00:00
Do not send caps request on self presence
This commit is contained in:
@@ -582,7 +582,7 @@ _available_handler(xmpp_conn_t * const conn,
|
||||
}
|
||||
|
||||
// send disco info for capabilities, if not cached
|
||||
if (stanza_contains_caps(stanza)) {
|
||||
if ((g_strcmp0(my_jid->fulljid, from_jid->fulljid) != 0) && (stanza_contains_caps(stanza))) {
|
||||
log_info("Presence contains capabilities.");
|
||||
|
||||
char *hash = stanza_caps_get_hash(stanza);
|
||||
|
||||
Reference in New Issue
Block a user