mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Don't read messages in channels I'm not in.
This commit is contained in:
@@ -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()) {
|
||||
|
Reference in New Issue
Block a user