diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2022-01-20 01:40:27 -0500 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2022-01-20 01:40:27 -0500 |
commit | 2328c8bafee708fc33dcd004562a270183ebcf30 (patch) | |
tree | b2226646044e03e4ee7b7c92c992f3337e42dd6b /src/discord/objects.hpp | |
parent | dfd642bb82d2998cc563f0f401f2d522632692c1 (diff) | |
download | abaddon-portaudio-2328c8bafee708fc33dcd004562a270183ebcf30.tar.gz abaddon-portaudio-2328c8bafee708fc33dcd004562a270183ebcf30.zip |
handle initial muted state for threads
Diffstat (limited to 'src/discord/objects.hpp')
-rw-r--r-- | src/discord/objects.hpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/discord/objects.hpp b/src/discord/objects.hpp index c72361b..8568222 100644 --- a/src/discord/objects.hpp +++ b/src/discord/objects.hpp @@ -244,14 +244,6 @@ struct ReadStateData { friend void from_json(const nlohmann::json &j, ReadStateData &m); }; -struct MuteConfigData { - std::optional<std::string> EndTime; // nullopt is encoded as null - int SelectedTimeWindow; - - friend void from_json(const nlohmann::json &j, MuteConfigData &m); - friend void to_json(nlohmann::json &j, const MuteConfigData &m); -}; - struct UserGuildSettingsChannelOverride { bool Muted; MuteConfigData MuteConfig; |