mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Fix creating dialog rows for new groups.
This commit is contained in:
@@ -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() {
|
||||
|
Reference in New Issue
Block a user