1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-01 22:26:44 +02:00

speed up friendlist loading on startup

This commit is contained in:
Jfreegman
2014-03-05 08:01:12 -05:00
parent 2fcfa954ab
commit 4b8de0d16d
3 changed files with 14 additions and 9 deletions

View File

@ -46,6 +46,8 @@ ToxWindow new_friendlist(void);
void disable_chatwin(int f_num);
int get_friendnum(uint8_t *name);
void friendlist_onFriendAdded(ToxWindow *self, Tox *m, int num, bool sort);
/* sorts friendlist_index first by connection status then alphabetically */
void sort_friendlist_index(Tox *m);