mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-03 08:05:12 +00:00
Merge branch 'docs' into bots
This commit is contained in:
@@ -2286,7 +2286,7 @@ void History::setUnreadCount(int32 newUnreadCount, bool psUpdate) {
|
||||
App::histories().unreadFull += newUnreadCount - unreadCount;
|
||||
if (mute) App::histories().unreadMuted += newUnreadCount - unreadCount;
|
||||
unreadCount = newUnreadCount;
|
||||
if (psUpdate && (!mute || cIncludeMuted())) App::wnd()->updateCounter();
|
||||
if (psUpdate && (!mute || cIncludeMuted()) && App::wnd()) App::wnd()->updateCounter();
|
||||
if (unreadBar) {
|
||||
int32 count = unreadCount;
|
||||
if (peer->migrateTo()) {
|
||||
|
Reference in New Issue
Block a user