1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Close all windows on /disconnect

This commit is contained in:
James Booth 2016-01-03 02:20:17 +00:00
parent a713654f93
commit 03f63a912e

View File

@ -993,6 +993,7 @@ cmd_disconnect(ProfWin *window, const char *const command, gchar **args)
chat_sessions_clear(); chat_sessions_clear();
tlscerts_clear_current(); tlscerts_clear_current();
ui_disconnected(); ui_disconnected();
ui_close_all_wins();
#ifdef HAVE_LIBGPGME #ifdef HAVE_LIBGPGME
p_gpg_on_disconnect(); p_gpg_on_disconnect();
#endif #endif