1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-04 16:26:46 +02:00

Fix/update group logging implementation

This commit is contained in:
jfreegman
2020-11-19 01:31:47 -05:00
parent ed8ba89cd8
commit 5499bb6645
5 changed files with 80 additions and 28 deletions

View File

@ -478,7 +478,7 @@ static void load_groups(Tox *m)
size_t numgroups = tox_group_get_number_groups(m);
for (size_t i = 0; i < numgroups; ++i) {
if (init_groupchat_win(m, i, NULL, 0) != 0) {
if (init_groupchat_win(m, i, NULL, 0, Group_Join_Type_Load) != 0) {
tox_group_leave(m, i, NULL, 0, NULL);
}
}