From 2e9beaaa30bbbbab93c3681ce835ef00b460da3f Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Wed, 31 Aug 2022 20:03:24 -0400 Subject: dont send preferred region --- src/discord/objects.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/discord/objects.cpp') diff --git a/src/discord/objects.cpp b/src/discord/objects.cpp index e4c61c5..5ca8718 100644 --- a/src/discord/objects.cpp +++ b/src/discord/objects.cpp @@ -648,7 +648,7 @@ void to_json(nlohmann::json &j, const VoiceStateUpdateMessage &m) { j["d"]["self_mute"] = m.SelfMute; j["d"]["self_deaf"] = m.SelfDeaf; j["d"]["self_video"] = m.SelfVideo; - j["d"]["preferred_region"] = m.PreferredRegion; + // j["d"]["preferred_region"] = m.PreferredRegion; } void from_json(const nlohmann::json &j, VoiceStateUpdateData &m) { -- cgit v1.2.3