2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-02 07:35:12 +00:00

Handle channelDifferenceTooLong in media and feed.

This commit is contained in:
John Preston
2018-02-05 17:37:22 +03:00
parent 11671e85da
commit e102cb1469
21 changed files with 233 additions and 52 deletions

View File

@@ -1057,8 +1057,9 @@ void MainWidget::deleteConversation(
}
}
history->clear();
history->newLoaded = true;
history->oldLoaded = deleteHistory;
if (deleteHistory) {
history->markFullyLoaded();
}
}
if (const auto channel = peer->asChannel()) {
channel->ptsWaitingForShortPoll(-1);