From 207c00422861c91c553654a37c52e21f72c76cc2 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Sat, 25 Dec 2021 03:07:11 -0500 Subject: take muted channels into account for unread guild indicator --- src/discord/discord.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/discord/discord.hpp') 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; -- cgit v1.2.3