Skip to content

Commit 12f6bef

Browse files
docs: change comment about sodium secret_key array
1 parent dc77f0f commit 12f6bef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/dpp/discordvoiceclient.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,8 +393,8 @@ class DPP_EXPORT discord_voice_client : public websocket_client
393393

394394
/**
395395
* @brief Secret key for encrypting voice.
396-
* If it has been sent, this is non-null and points to a
397-
* sequence of exactly 32 bytes.
396+
* If it has been sent, this contains a sequence of exactly 32 bytes
397+
* (secret_key_size) and has_secret_key is set to true.
398398
*/
399399
std::array<uint8_t, secret_key_size> secret_key;
400400

0 commit comments

Comments
 (0)