1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-09-19 11:06:51 +02:00

properly close all groupchats on exit

This commit is contained in:
Jfreegman
2014-12-07 13:51:12 -05:00
parent a0418520a2
commit 82aa64e8f7
3 changed files with 4 additions and 4 deletions

View File

@@ -561,7 +561,7 @@ void kill_all_windows(Tox *m)
if (windows[i].is_chat)
kill_chat_window(&windows[i], m);
else if (windows[i].is_groupchat)
kill_groupchat_window(&windows[i]);
close_groupchat(&windows[i], m, i);
}
kill_prompt_window(prompt);