mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Merge pull request #1090 from jubalh/fix/connection-loss-1089
Reset things on connection loss
This commit is contained in:
commit
9ecc14c95d
@ -215,10 +215,15 @@ sv_ev_lost_connection(void)
|
|||||||
muc_confserver_clear();
|
muc_confserver_clear();
|
||||||
chat_sessions_clear();
|
chat_sessions_clear();
|
||||||
ui_disconnected();
|
ui_disconnected();
|
||||||
|
ui_close_all_wins();
|
||||||
roster_destroy();
|
roster_destroy();
|
||||||
|
tlscerts_clear_current();
|
||||||
#ifdef HAVE_LIBGPGME
|
#ifdef HAVE_LIBGPGME
|
||||||
p_gpg_on_disconnect();
|
p_gpg_on_disconnect();
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef HAVE_LIBGPGME
|
||||||
|
omemo_on_disconnect();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user