1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-06-29 14:17:46 +02:00

Fix persistent groupchat loading

This commit is contained in:
jfreegman 2018-02-27 18:46:56 -05:00
parent 3fec11d5f9
commit a223329815
No known key found for this signature in database
GPG Key ID: 3627F3144076AE63

View File

@ -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];