1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Clear contact list when connection lost

This commit is contained in:
James Booth 2012-11-12 20:30:15 +00:00
parent 019d0ed4dd
commit 14fa5ce5d8

View File

@ -198,6 +198,7 @@ prof_handle_lost_connection(void)
{
cons_bad_show("Lost connection.");
log_info("Lost connection");
contact_list_clear();
win_disconnected();
win_page_off();
log_info("disconnected");