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

Save messenger data on exit

This commit is contained in:
Jfreegman
2013-09-04 02:05:36 -04:00
parent 20d1ad9842
commit f93af40f28
4 changed files with 7 additions and 6 deletions

View File

@ -37,9 +37,8 @@ void friendlist_onMessage(ToxWindow *self, Tox *m, int num, uint8_t *str, uint16
if (num >= num_friends)
return;
if (friends[num].chatwin == -1) {
if (friends[num].chatwin == -1)
friends[num].chatwin = add_window(m, new_chat(m, friends[num].num));
}
}
void friendlist_onNickChange(ToxWindow *self, int num, uint8_t *str, uint16_t len)