Don't read messages in channels I'm not in.

This commit is contained in:
John Preston 2020-09-18 20:45:42 +03:00
parent ab429212e5
commit d89be1d1d4

View file

@ -1287,7 +1287,7 @@ void History::newItemAdded(not_null<HistoryItem*> item) {
}
} else if (item->out()) {
destroyUnreadBar();
} else {
} else if (!item->unread()) {
inboxRead(item);
}
if (item->out() && !item->unread()) {