1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-06-23 21:45:30 +00:00

Destroy roster after updating UI in server disconnect

This commit is contained in:
James Booth 2016-01-08 00:13:12 +00:00
parent e5447cf37b
commit a90e109f7e

View File

@ -152,10 +152,10 @@ sv_ev_lost_connection(void)
{
cons_show_error("Lost connection.");
roster_destroy();
muc_invites_clear();
chat_sessions_clear();
ui_disconnected();
roster_destroy();
#ifdef HAVE_LIBGPGME
p_gpg_on_disconnect();
#endif