test(autoping): add test for autoping warning exclusion on user JIDs
All checks were successful
CI Code / Check spelling (pull_request) Successful in 18s
CI Code / Check coding style (pull_request) Successful in 31s
CI Code / Code Coverage (pull_request) Successful in 3m33s
CI Code / Linux (debian) (pull_request) Successful in 5m7s
CI Code / Linux (ubuntu) (pull_request) Successful in 5m12s
CI Code / Linux (arch) (pull_request) Successful in 7m9s

This commit is contained in:
2026-06-20 20:47:05 +00:00
parent 2012e15c0b
commit 7fd0cded3d
4 changed files with 26 additions and 2 deletions

View File

@@ -2431,7 +2431,6 @@ _disco_info_response_id_handler_onconnect(xmpp_stanza_t* const stanza, void* con
child = xmpp_stanza_get_next(child);
}
// only fire on server responses (no '@' in JID), not user disco#info
if (!from || !strstr(from, "@")) {
_disco_autoping_warning_message(features);
}