mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 22:55:11 +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()) {
|
} else if (item->out()) {
|
||||||
destroyUnreadBar();
|
destroyUnreadBar();
|
||||||
} else {
|
} else if (!item->unread()) {
|
||||||
inboxRead(item);
|
inboxRead(item);
|
||||||
}
|
}
|
||||||
if (item->out() && !item->unread()) {
|
if (item->out() && !item->unread()) {
|
||||||
|
Reference in New Issue
Block a user