mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-18 10:46:21 +00:00
Reset things on connection loss
Remove the windows, clear tls certs, clean omemo. Regards https://github.com/profanity-im/profanity/issues/1089
This commit is contained in:
@@ -215,10 +215,15 @@ sv_ev_lost_connection(void)
|
||||
muc_confserver_clear();
|
||||
chat_sessions_clear();
|
||||
ui_disconnected();
|
||||
ui_close_all_wins();
|
||||
roster_destroy();
|
||||
tlscerts_clear_current();
|
||||
#ifdef HAVE_LIBGPGME
|
||||
p_gpg_on_disconnect();
|
||||
#endif
|
||||
#ifdef HAVE_LIBGPGME
|
||||
omemo_on_disconnect();
|
||||
#endif
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user