Skip to content

Commit

Permalink
add seq_ack to resume
Browse files Browse the repository at this point in the history
  • Loading branch information
braindigitalis committed Sep 25, 2024
1 parent cb418e3 commit 5e9a91f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/dpp/discordvoiceclient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ bool discord_voice_client::handle_frame(const std::string &data, ws_opcode opcod
}

if (!modes.empty()) {
log(dpp::ll_debug, "Resuming voice session...");
log(dpp::ll_debug, "Resuming voice session " + this->sessionid + "...");
json obj = {
{ "op", voice_opcode_connection_resume },
{
Expand All @@ -621,6 +621,7 @@ bool discord_voice_client::handle_frame(const std::string &data, ws_opcode opcod
{ "server_id", std::to_string(this->server_id) },
{ "session_id", this->sessionid },
{ "token", this->token },
{ "seq_ack", this->sequence },
}
}
};
Expand Down

0 comments on commit 5e9a91f

Please sign in to comment.