mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02: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