diff options
Diffstat (limited to 'src/discord/discord.hpp')
-rw-r--r-- | src/discord/discord.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/discord/discord.hpp b/src/discord/discord.hpp index c2bea7d..685d096 100644 --- a/src/discord/discord.hpp +++ b/src/discord/discord.hpp @@ -211,6 +211,8 @@ public: void UpdateToken(const std::string &token); void SetUserAgent(const std::string &agent); + void SetDumpReady(bool dump); + bool IsChannelMuted(Snowflake id) const noexcept; bool IsGuildMuted(Snowflake id) const noexcept; int GetUnreadStateForChannel(Snowflake id) const noexcept; @@ -229,6 +231,8 @@ private: std::vector<uint8_t> m_decompress_buf; z_stream m_zstream; + bool m_dump_ready = false; + static std::string GetAPIURL(); static std::string GetGatewayURL(); |