summaryrefslogtreecommitdiff
path: root/src/discord/usersettings.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2022-11-29 15:53:02 -0500
committerouwou <26526779+ouwou@users.noreply.github.com>2022-11-29 15:53:02 -0500
commit573a61919149d8d0119601a06e23322b71c778c3 (patch)
tree0f9fd234f4b7f5c409172a5d6afe9897b6f88097 /src/discord/usersettings.hpp
parent77dd9fabfa054bd8fa24f869b976da7ee69c8a87 (diff)
parentc5807a3463aaefc89e2432730b997437305af59a (diff)
downloadabaddon-portaudio-573a61919149d8d0119601a06e23322b71c778c3.tar.gz
abaddon-portaudio-573a61919149d8d0119601a06e23322b71c778c3.zip
Merge branch 'master' into keychain
Diffstat (limited to 'src/discord/usersettings.hpp')
-rw-r--r--src/discord/usersettings.hpp57
1 files changed, 29 insertions, 28 deletions
diff --git a/src/discord/usersettings.hpp b/src/discord/usersettings.hpp
index 2baf61e..2631c45 100644
--- a/src/discord/usersettings.hpp
+++ b/src/discord/usersettings.hpp
@@ -13,35 +13,36 @@ struct UserSettingsGuildFoldersEntry {
};
struct UserSettings {
- int TimezoneOffset; //
- std::string Theme; //
- bool AreStreamNotificationsEnabled; //
- std::string Status; //
- bool ShouldShowCurrentGame; //
- // std::vector<Unknown> RestrictedGuilds; //
- bool ShouldRenderReactions; //
- bool ShouldRenderEmbeds; //
- bool IsNativePhoneIntegrationEnabled; //
- bool ShouldMessageDisplayCompact; //
- std::string Locale; //
- bool ShouldInlineEmbedMedia; //
- bool ShouldInlineAttachmentMedia; //
- std::vector<Snowflake> GuildPositions; // deprecated?
- std::vector<UserSettingsGuildFoldersEntry> GuildFolders; //
- bool ShouldGIFAutoplay; //
- // Unknown FriendSourceFlags; //
- int ExplicitContentFilter; //
- bool IsTTSCommandEnabled; //
- bool ShouldDisableGamesTab; //
- bool DeveloperMode; //
- bool ShouldDetectPlatformAccounts; //
- bool AreDefaultGuildsRestricted; //
+ std::vector<UserSettingsGuildFoldersEntry> GuildFolders;
+ /*
+ int TimezoneOffset;
+ std::string Theme;
+ bool AreStreamNotificationsEnabled;
+ std::string Status;
+ bool ShouldShowCurrentGame;
+ // std::vector<Unknown> RestrictedGuilds;
+ bool ShouldRenderReactions;
+ bool ShouldRenderEmbeds;
+ bool IsNativePhoneIntegrationEnabled;
+ bool ShouldMessageDisplayCompact;
+ std::string Locale;
+ bool ShouldInlineEmbedMedia;
+ bool ShouldInlineAttachmentMedia;
+ std::vector<Snowflake> GuildPositions; // deprecated?
+ bool ShouldGIFAutoplay;
+ // Unknown FriendSourceFlags;
+ int ExplicitContentFilter;
+ bool IsTTSCommandEnabled;
+ bool ShouldDisableGamesTab;
+ bool DeveloperMode;
+ bool ShouldDetectPlatformAccounts;
+ bool AreDefaultGuildsRestricted;
// Unknown CustomStatus; // null
- bool ShouldConvertEmoticons; //
- bool IsContactSyncEnabled; //
- bool ShouldAnimateEmojis; //
- bool IsAccessibilityDetectionAllowed; //
- int AFKTimeout;
+ bool ShouldConvertEmoticons;
+ bool IsContactSyncEnabled;
+ bool ShouldAnimateEmojis;
+ bool IsAccessibilityDetectionAllowed;
+ int AFKTimeout;*/
friend void from_json(const nlohmann::json &j, UserSettings &m);
};