2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Version 1.5.2: Fix unread mentions in workmode.

This commit is contained in:
John Preston
2018-12-13 16:31:03 +04:00
parent 4836173fe6
commit 0f67f75bed
3 changed files with 15 additions and 9 deletions

View File

@@ -2031,7 +2031,7 @@ void DialogsInner::userIsContactUpdated(not_null<UserData*> user) {
void DialogsInner::notify_historyMuteUpdated(History *history) {
if (!_dialogsImportant || !history->inChatList(Dialogs::Mode::All)) return;
if (history->mute()) {
if (!history->toImportant()) {
if (Global::DialogsMode() == Dialogs::Mode::Important) {
if (_selected && _selected->history() == history) {
_selected = nullptr;