2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

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()) {