mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 15:43:55 +02:00
Don't read messages in channels I'm not in.
This commit is contained in:
parent
ab429212e5
commit
d89be1d1d4
1 changed files with 1 additions and 1 deletions
|
@ -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()) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue