mirror of
https://github.com/Tha14/toxic.git
synced 2024-11-23 05:53:02 +01:00
don't need that
This commit is contained in:
parent
f84ece13de
commit
fb246f2527
@ -119,7 +119,6 @@ static void groupchat_onGroupNamelistChange(ToxWindow *self, Tox *m, int groupnu
|
|||||||
if (self->num != groupnum)
|
if (self->num != groupnum)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
memset(groupchats[groupnum].peer_names, 0, sizeof(groupchats[groupnum].peer_names);
|
|
||||||
int num_peers = tox_group_number_peers(m, groupnum);
|
int num_peers = tox_group_number_peers(m, groupnum);
|
||||||
groupchats[groupnum].num_peers = MIN(MAX_GROUP_PEERS, num_peers);
|
groupchats[groupnum].num_peers = MIN(MAX_GROUP_PEERS, num_peers);
|
||||||
tox_group_copy_names(m, groupnum, groupchats[groupnum].peer_names, num_peers);
|
tox_group_copy_names(m, groupnum, groupchats[groupnum].peer_names, num_peers);
|
||||||
|
Loading…
Reference in New Issue
Block a user