Skip to content

Commit

Permalink
fix incorrect documentation
Browse files Browse the repository at this point in the history
The key used to get wiped on a kick but this is
no longer the case
  • Loading branch information
JFreegman committed Aug 17, 2023
1 parent a1e2458 commit 8ed47f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions toxcore/tox.h
Original file line number Diff line number Diff line change
Expand Up @@ -3979,8 +3979,8 @@ Tox_Connection tox_group_peer_get_connection_status(const Tox *tox, uint32_t gro
/**
* Write the group public key with the designated peer_id for the designated group number to public_key.
*
* This key will be permanently tied to a particular peer until they explicitly leave the group or
* get kicked, and is the only way to reliably identify the same peer across client restarts.
* This key will be permanently tied to a particular peer until they explicitly leave the group and is
* the only way to reliably identify the same peer across client restarts.
*
* `public_key` should have room for at least TOX_GROUP_PEER_PUBLIC_KEY_SIZE bytes. If `public_key` is null
* this function has no effect.
Expand Down

0 comments on commit 8ed47f3

Please sign in to comment.