From fba1f568c23bd2e9a1cc7852dcb9b1b747611973 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Tue, 12 Mar 2024 21:24:58 -0400 Subject: store suppressed state --- src/discord/discord.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/discord/discord.cpp') diff --git a/src/discord/discord.cpp b/src/discord/discord.cpp index e99cb5f..ab0374d 100644 --- a/src/discord/discord.cpp +++ b/src/discord/discord.cpp @@ -2960,6 +2960,7 @@ void DiscordClient::SetVoiceState(Snowflake user_id, const VoiceState &state) { if (state.IsDeafened) flags |= VoiceStateFlags::Deaf; if (state.IsSelfStream) flags |= VoiceStateFlags::SelfStream; if (state.IsSelfVideo) flags |= VoiceStateFlags::SelfVideo; + if (state.IsSuppressed) flags |= VoiceStateFlags::Suppressed; m_voice_states[user_id] = std::make_pair(*state.ChannelID, flags); m_voice_state_channel_users[*state.ChannelID].insert(user_id); -- cgit v1.2.3