summaryrefslogtreecommitdiff
path: root/src/discord/discord.hpp
diff options
context:
space:
mode:
authorJerzy Kozera <120114+jkozera@users.noreply.github.com>2023-07-04 01:15:05 +0200
committerJerzy Kozera <120114+jkozera@users.noreply.github.com>2023-07-04 01:33:15 +0200
commit3f6be457b121b0388874f8263ec0ab0be9a0c46e (patch)
tree9f452e5673e036b0716953573f8f11b6c95e6470 /src/discord/discord.hpp
parent060e79ff2af65c46b5a53606784345b570118f2b (diff)
downloadabaddon-portaudio-3f6be457b121b0388874f8263ec0ab0be9a0c46e.tar.gz
abaddon-portaudio-3f6be457b121b0388874f8263ec0ab0be9a0c46e.zip
Show unread indicators next to categories containing unread channels
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 d2435dd..29ac00c 100644
--- a/src/discord/discord.hpp
+++ b/src/discord/discord.hpp
@@ -214,6 +214,7 @@ public:
bool IsChannelMuted(Snowflake id) const noexcept;
bool IsGuildMuted(Snowflake id) const noexcept;
int GetUnreadStateForChannel(Snowflake id) const noexcept;
+ int GetUnreadChannelsCountForCategory(Snowflake id) const noexcept;
bool GetUnreadStateForGuild(Snowflake id, int &total_mentions) const noexcept;
int GetUnreadDMsCount() const;