mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +02:00
Fix creating dialog rows for new groups.
This commit is contained in:
parent
5f1cb9d31c
commit
6f885fb6cc
1 changed files with 3 additions and 3 deletions
|
@ -628,9 +628,6 @@ HistoryItem *History::addNewMessage(
|
|||
setLastMessage(item);
|
||||
if (type == NewMessageType::Unread) {
|
||||
newItemAdded(item);
|
||||
if (!folderKnown()) {
|
||||
session().api().requestDialogEntry(this);
|
||||
}
|
||||
}
|
||||
return item;
|
||||
}
|
||||
|
@ -1241,6 +1238,9 @@ void History::newItemAdded(not_null<HistoryItem*> item) {
|
|||
} else {
|
||||
inboxRead(item);
|
||||
}
|
||||
if (!folderKnown()) {
|
||||
session().api().requestDialogEntry(this);
|
||||
}
|
||||
}
|
||||
|
||||
HistoryBlock *History::prepareBlockForAddingItem() {
|
||||
|
|
Loading…
Add table
Reference in a new issue