From 0eb8d243948366510d22aae3bbe31d9cca4e24cf Mon Sep 17 00:00:00 2001 From: John Preston Date: Thu, 16 Jan 2020 11:09:57 +0300 Subject: [PATCH] Fix unread badge update when leaving a channel. Fixes #6995. --- Telegram/SourceFiles/data/data_session.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Telegram/SourceFiles/data/data_session.cpp b/Telegram/SourceFiles/data/data_session.cpp index b965cea4e..5f548721c 100644 --- a/Telegram/SourceFiles/data/data_session.cpp +++ b/Telegram/SourceFiles/data/data_session.cpp @@ -2083,6 +2083,7 @@ void Session::unreadEntryChanged(const Dialogs::Key &key, bool added) { _chatsList.unreadEntryChanged(state, added); } } + Notify::unreadCounterUpdated(); } void Session::selfDestructIn(not_null item, crl::time delay) {