diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2022-08-31 20:03:24 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2022-08-31 20:03:24 -0400 |
commit | 2e9beaaa30bbbbab93c3681ce835ef00b460da3f (patch) | |
tree | 5e371a2a8d1447a23d53831c63d0355571e8c040 /src/discord | |
parent | 21d640cea39ae29a97a66f6c2039ac314b876e07 (diff) | |
download | abaddon-portaudio-2e9beaaa30bbbbab93c3681ce835ef00b460da3f.tar.gz abaddon-portaudio-2e9beaaa30bbbbab93c3681ce835ef00b460da3f.zip |
dont send preferred region
Diffstat (limited to 'src/discord')
-rw-r--r-- | src/discord/objects.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |