mirror of
https://github.com/celisej567/abaddon.git
synced 2026-09-19 20:11:59 +03:00
persist voice settings, handle volume w/ no ssrc
This commit is contained in:
@@ -1226,6 +1226,10 @@ std::optional<Snowflake> DiscordClient::GetVoiceState(Snowflake user_id) const {
|
||||
return std::nullopt;
|
||||
}
|
||||
|
||||
DiscordVoiceClient &DiscordClient::GetVoiceClient() {
|
||||
return m_voice;
|
||||
}
|
||||
|
||||
void DiscordClient::SetVoiceMuted(bool is_mute) {
|
||||
m_mute_requested = is_mute;
|
||||
SendVoiceStateUpdate();
|
||||
|
||||
Reference in New Issue
Block a user