mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Clear contact list when connection lost
This commit is contained in:
parent
019d0ed4dd
commit
14fa5ce5d8
@ -198,6 +198,7 @@ prof_handle_lost_connection(void)
|
|||||||
{
|
{
|
||||||
cons_bad_show("Lost connection.");
|
cons_bad_show("Lost connection.");
|
||||||
log_info("Lost connection");
|
log_info("Lost connection");
|
||||||
|
contact_list_clear();
|
||||||
win_disconnected();
|
win_disconnected();
|
||||||
win_page_off();
|
win_page_off();
|
||||||
log_info("disconnected");
|
log_info("disconnected");
|
||||||
|
Loading…
Reference in New Issue
Block a user