new feature: warning if autoping is disabled #80
@@ -2430,7 +2430,11 @@ _disco_info_response_id_handler_onconnect(xmpp_stanza_t* const stanza, void* con
|
|||||||
}
|
}
|
||||||
child = xmpp_stanza_get_next(child);
|
child = xmpp_stanza_get_next(child);
|
||||||
}
|
}
|
||||||
_disco_autoping_warning_message(features);
|
|
||||||
|
// only fire on server responses (no '@' in JID), not user disco#info
|
||||||
|
if (!from || !strstr(from, "@")) {
|
||||||
|
_disco_autoping_warning_message(features);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
connection_features_received(from);
|
connection_features_received(from);
|
||||||
|
|||||||
Reference in New Issue
Block a user