2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Remove supergroup migrate messages.

This commit is contained in:
John Preston
2019-01-15 15:57:45 +04:00
parent c552db04d7
commit 2a0b9a44dd
40 changed files with 695 additions and 481 deletions

View File

@@ -380,7 +380,7 @@ namespace App {
if (j != data->cend()) {
const auto history = (*j)->history();
(*j)->destroy();
if (!history->lastMessageKnown()) {
if (!history->chatListMessageKnown()) {
historiesToCheck.emplace(history);
}
} else if (affectedHistory) {
@@ -388,7 +388,7 @@ namespace App {
}
}
for (const auto history : historiesToCheck) {
Auth().api().requestDialogEntry(history);
history->requestChatListMessage();
}
}