mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-25 20:36:22 +00:00
Added id handler for pings, disable ping on error type 'cancel'
This commit is contained in:
@@ -461,3 +461,11 @@ handle_roster_add(const char * const barejid, const char * const name)
|
||||
ui_roster_add(barejid, name);
|
||||
ui_current_page_off();
|
||||
}
|
||||
|
||||
void
|
||||
handle_autoping_cancel(void)
|
||||
{
|
||||
prefs_set_autoping(0);
|
||||
cons_show_error("Server ping not supported, autoping disabled.");
|
||||
ui_current_page_off();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user