summaryrefslogtreecommitdiff
path: root/src/discord/objects.cpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2022-08-31 20:03:24 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2022-08-31 20:03:24 -0400
commit2e9beaaa30bbbbab93c3681ce835ef00b460da3f (patch)
tree5e371a2a8d1447a23d53831c63d0355571e8c040 /src/discord/objects.cpp
parent21d640cea39ae29a97a66f6c2039ac314b876e07 (diff)
downloadabaddon-portaudio-2e9beaaa30bbbbab93c3681ce835ef00b460da3f.tar.gz
abaddon-portaudio-2e9beaaa30bbbbab93c3681ce835ef00b460da3f.zip
dont send preferred region
Diffstat (limited to 'src/discord/objects.cpp')
-rw-r--r--src/discord/objects.cpp2
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) {