From b38cae4a48e5d3cbfcf14a8e7a8844ca4c3a9dac Mon Sep 17 00:00:00 2001 From: Green Sky Date: Sun, 19 Jul 2026 16:15:11 +0200 Subject: [PATCH] docs: private group send function return This function's return type was changed in 7b1db6adc1d4244aa1ed02b51609d20fba13b90e , but this comment was not updated. --- toxcore/tox.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/toxcore/tox.h b/toxcore/tox.h index 30f14fe11..9a8a93393 100644 --- a/toxcore/tox.h +++ b/toxcore/tox.h @@ -4400,7 +4400,8 @@ const char *tox_err_group_send_private_message_to_string(Tox_Err_Group_Send_Priv * containing the message text. * @param length Length of the message to be sent. * - * @return true on success. + * @return The message_id of this message. If this function has an error, the + * returned message ID value will be undefined. */ Tox_Group_Message_Id tox_group_send_private_message( const Tox *tox, Tox_Group_Number group_number, Tox_Group_Peer_Number peer_id, Tox_Message_Type message_type,