diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-12-28 03:11:59 -0500 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-12-28 03:11:59 -0500 |
commit | 17c1f913df73b43efe49a336dfa46533ceca2203 (patch) | |
tree | 171ecb28022d1c76a3182840b637117706dfb438 | |
parent | 6c94e75513ba045d91c690e66eb1b3efe315a96e (diff) | |
download | abaddon-portaudio-17c1f913df73b43efe49a336dfa46533ceca2203.tar.gz abaddon-portaudio-17c1f913df73b43efe49a336dfa46533ceca2203.zip |
actually deserialize mute_config
-rw-r--r-- | src/discord/objects.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/discord/objects.cpp b/src/discord/objects.cpp index 9e3741f..8ca8c0f 100644 --- a/src/discord/objects.cpp +++ b/src/discord/objects.cpp @@ -141,6 +141,7 @@ void from_json(const nlohmann::json &j, UserGuildSettingsChannelOverride &m) { JS_D("message_notifications", m.MessageNotifications); JS_D("collapsed", m.Collapsed); JS_D("channel_id", m.ChannelID); + JS_N("mute_config", m.MuteConfig); } void to_json(nlohmann::json &j, const UserGuildSettingsChannelOverride &m) { @@ -174,6 +175,7 @@ void from_json(const nlohmann::json &j, UserGuildSettingsEntry &m) { JS_D("hide_muted_channels", m.HideMutedChannels); JS_N("guild_id", m.GuildID); JS_D("channel_overrides", m.ChannelOverrides); + JS_N("mute_config", m.MuteConfig); } void to_json(nlohmann::json &j, const UserGuildSettingsEntry &m) { |