Skip to content

Commit 8ed47f3

Browse files
committed
fix incorrect documentation
The key used to get wiped on a kick but this is no longer the case
1 parent a1e2458 commit 8ed47f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

toxcore/tox.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3979,8 +3979,8 @@ Tox_Connection tox_group_peer_get_connection_status(const Tox *tox, uint32_t gro
39793979
/**
39803980
* Write the group public key with the designated peer_id for the designated group number to public_key.
39813981
*
3982-
* This key will be permanently tied to a particular peer until they explicitly leave the group or
3983-
* get kicked, and is the only way to reliably identify the same peer across client restarts.
3982+
* This key will be permanently tied to a particular peer until they explicitly leave the group and is
3983+
* the only way to reliably identify the same peer across client restarts.
39843984
*
39853985
* `public_key` should have room for at least TOX_GROUP_PEER_PUBLIC_KEY_SIZE bytes. If `public_key` is null
39863986
* this function has no effect.

0 commit comments

Comments
 (0)