mirror of https://github.com/procxx/kepka.git
Fix creating dialog rows for new groups.
This commit is contained in:
parent
5f1cb9d31c
commit
6f885fb6cc
Telegram/SourceFiles/history
|
@ -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…
Reference in New Issue