diff --git a/src/discord/Channel.hpp b/src/discord/Channel.hpp index fea9ec3..6370ddb 100644 --- a/src/discord/Channel.hpp +++ b/src/discord/Channel.hpp @@ -93,7 +93,7 @@ struct Channel } bool HasUnreadMessages() const { - return m_lastViewedMsg < m_lastSentMsg; + return m_lastViewedMsg != 0 && m_lastViewedMsg < m_lastSentMsg; } bool IsCategory() const {