mirror of
https://github.com/Tha14/toxic.git
synced 2025-07-05 05:56:46 +02:00
fixes
This commit is contained in:
@ -113,7 +113,6 @@ static void friendlist_onFriendAdded(ToxWindow *self, Tox *m, int num)
|
||||
friends[i].online = false;
|
||||
friends[i].status = TOX_USERSTATUS_NONE;
|
||||
friends[i].namelength = tox_getname(m, num, friends[i].name);
|
||||
memset(friends[i].pending_groupchat, 0, TOX_CLIENT_ID_SIZE);
|
||||
|
||||
if (friends[i].namelength == -1 || friends[i].name[0] == '\0') {
|
||||
strcpy(friends[i].name, (uint8_t *) UNKNOWN_NAME);
|
||||
|
Reference in New Issue
Block a user