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:
parent
e5447cf37b
commit
a90e109f7e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user