mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-13 02:43:02 +01:00
fix
This commit is contained in:
parent
6e0ac744cb
commit
84422b5845
@ -64,7 +64,7 @@ static void close_groupchatwin(Tox *m, int groupnum)
|
||||
int i;
|
||||
|
||||
for (i = group_chat_index; i > 0; --i) {
|
||||
if (groupchats[i-1].chatwin != -1)
|
||||
if (groupchats[i-1].active)
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user