withdraw notifications on channel open

This commit is contained in:
ouwou
2023-03-16 21:15:56 -04:00
parent b83bf2a622
commit 02f7bfefe3
6 changed files with 30 additions and 6 deletions

View File

@@ -733,6 +733,8 @@ void Abaddon::ActionChannelOpened(Snowflake id, bool expand_to) {
}
if (id == m_main_window->GetChatActiveChannel()) return;
m_notifications.WithdrawChannel(id);
m_main_window->GetChatWindow()->SetTopic("");
const auto channel = m_discord.GetChannel(id);