summaryrefslogtreecommitdiff
path: root/src/discord/discord.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2021-12-25 03:07:11 -0500
committerouwou <26526779+ouwou@users.noreply.github.com>2021-12-25 03:07:11 -0500
commit207c00422861c91c553654a37c52e21f72c76cc2 (patch)
tree2cdb80fe62e54fd51fce29508800003d1df5bf26 /src/discord/discord.hpp
parent36f73a6106a17463724e44fb5580dc2ee96d06ba (diff)
downloadabaddon-portaudio-207c00422861c91c553654a37c52e21f72c76cc2.tar.gz
abaddon-portaudio-207c00422861c91c553654a37c52e21f72c76cc2.zip
take muted channels into account for unread guild indicator
Diffstat (limited to 'src/discord/discord.hpp')
-rw-r--r--src/discord/discord.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/discord/discord.hpp b/src/discord/discord.hpp
index 5569123..4374396 100644
--- a/src/discord/discord.hpp
+++ b/src/discord/discord.hpp
@@ -190,6 +190,7 @@ public:
bool IsChannelMuted(Snowflake id) const noexcept;
bool IsGuildMuted(Snowflake id) const noexcept;
int GetUnreadStateForChannel(Snowflake id) const noexcept;
+ bool GetUnreadStateForGuild(Snowflake id, int &total_mentions) const noexcept;
PresenceStatus GetUserStatus(Snowflake id) const;