From 8ed47f3ef2c7eab59d9a2a6871b1dbd4664707af Mon Sep 17 00:00:00 2001 From: jfreegman Date: Wed, 5 Apr 2023 11:00:24 -0400 Subject: [PATCH] fix incorrect documentation The key used to get wiped on a kick but this is no longer the case --- toxcore/tox.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toxcore/tox.h b/toxcore/tox.h index 22e0c639..fd1901f6 100644 --- a/toxcore/tox.h +++ b/toxcore/tox.h @@ -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.