mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Use correct macro
XMPP_FEATURE_PING insted of STANZA_NS_PING
This commit is contained in:
parent
d8027e609d
commit
86a9ef7b5c
@ -1088,8 +1088,8 @@ _autoping_timed_send(xmpp_conn_t *const conn, void *const userdata)
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (connection_supports(STANZA_NS_PING) == FALSE) {
|
if (connection_supports(XMPP_FEATURE_PING) == FALSE) {
|
||||||
log_warning("Server doesn't advertise %s feature, disabling autoping.", STANZA_NS_PING);
|
log_warning("Server doesn't advertise %s feature, disabling autoping.", XMPP_FEATURE_PING);
|
||||||
prefs_set_autoping(0);
|
prefs_set_autoping(0);
|
||||||
cons_show_error("Server ping not supported, autoping disabled.");
|
cons_show_error("Server ping not supported, autoping disabled.");
|
||||||
xmpp_conn_t *conn = connection_get_conn();
|
xmpp_conn_t *conn = connection_get_conn();
|
||||||
|
Loading…
Reference in New Issue
Block a user