new feature: warning if autoping is disabled #80

Manually merged
jabber.developer merged 8 commits from feat/autoping-warning into master 2026-06-23 11:11:48 +00:00
10 changed files with 197 additions and 9 deletions
Showing only changes of commit b5bbad8d2c - Show all commits

View File

@@ -2431,7 +2431,8 @@ _disco_info_response_id_handler_onconnect(xmpp_stanza_t* const stanza, void* con
child = xmpp_stanza_get_next(child);
}
if (!from || !strstr(from, "@")) {
// Prevent repetitions by avoiding checks of disco items (from connection_set_disco_items)
if (from && g_strcmp0(from, connection_get_domain()) == 0) {
_disco_autoping_warning_message(features);
}
}