diff --git a/include/dpp/discordvoiceclient.h b/include/dpp/discordvoiceclient.h index 84a9fb985a..b84399625f 100644 --- a/include/dpp/discordvoiceclient.h +++ b/include/dpp/discordvoiceclient.h @@ -1208,6 +1208,8 @@ class DPP_EXPORT discord_voice_client : public websocket_client * Fires Voice Ready event when appropriate. * * https://daveprotocol.com/#commit-handling + * + * @param data Websocket frame data */ void ready_for_transition(const std::string &data); @@ -1232,8 +1234,9 @@ class DPP_EXPORT discord_voice_client : public websocket_client /** * @brief Process roster map from commit/welcome. + * @param rmap Roster map */ - void process_mls_group_rosters(const std::map> &rmap); + void process_mls_group_rosters(const std::map>& rmap); }; } // namespace dpp diff --git a/src/dpp/voice/enabled/handle_frame.cpp b/src/dpp/voice/enabled/handle_frame.cpp index 19607d5dce..3740181e84 100644 --- a/src/dpp/voice/enabled/handle_frame.cpp +++ b/src/dpp/voice/enabled/handle_frame.cpp @@ -514,9 +514,9 @@ void discord_voice_client::ready_for_transition(const std::string &data) { this->write(obj.dump(-1, ' ', false, json::error_handler_t::replace), OP_TEXT); this->mls_state->pending_transition.id = this->mls_state->transition_id; - /* When the included transition ID is 0, the transition is for (re)initialization and it can be executed immediately. */ + /* When the included transition ID is 0, the transition is for (re)initialization, and it can be executed immediately. */ if (this->mls_state->transition_id == 0) { - /* Mark state ready and update rachets the first time */ + /* Mark state ready and update ratchets the first time */ update_ratchets(); }