mirror of
https://github.com/Tha14/toxic.git
synced 2024-12-23 03:53:25 +01:00
Fix persistent groupchat loading
This commit is contained in:
parent
3fec11d5f9
commit
a223329815
@ -319,6 +319,10 @@ static void load_groups(ToxWindow *prompt, Tox *m)
|
||||
size_t num_chats = tox_conference_get_chatlist_size(m);
|
||||
uint32_t chatlist[num_chats];
|
||||
|
||||
if (num_chats) {
|
||||
tox_conference_get_chatlist(m, chatlist);
|
||||
}
|
||||
|
||||
for (i = 0; i < num_chats; ++i) {
|
||||
uint32_t groupnum = chatlist[i];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user