summaryrefslogtreecommitdiff
path: root/src/discord/channel.cpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2022-01-20 01:40:27 -0500
committerouwou <26526779+ouwou@users.noreply.github.com>2022-01-20 01:40:27 -0500
commit2328c8bafee708fc33dcd004562a270183ebcf30 (patch)
treeb2226646044e03e4ee7b7c92c992f3337e42dd6b /src/discord/channel.cpp
parentdfd642bb82d2998cc563f0f401f2d522632692c1 (diff)
downloadabaddon-portaudio-2328c8bafee708fc33dcd004562a270183ebcf30.tar.gz
abaddon-portaudio-2328c8bafee708fc33dcd004562a270183ebcf30.zip
handle initial muted state for threads
Diffstat (limited to 'src/discord/channel.cpp')
-rw-r--r--src/discord/channel.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/discord/channel.cpp b/src/discord/channel.cpp
index 2f5c3c1..dcd3b8f 100644
--- a/src/discord/channel.cpp
+++ b/src/discord/channel.cpp
@@ -13,6 +13,8 @@ void from_json(const nlohmann::json &j, ThreadMemberObject &m) {
JS_O("user_id", m.UserID);
JS_D("join_timestamp", m.JoinTimestamp);
JS_D("flags", m.Flags);
+ JS_O("muted", m.IsMuted);
+ JS_ON("mute_config", m.MuteConfig);
}
void from_json(const nlohmann::json &j, ChannelData &m) {