2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Fix jump to a specific message.

This commit is contained in:
John Preston
2020-02-21 18:02:13 +04:00
parent 7f77db8c7f
commit 28032e5e0d
3 changed files with 38 additions and 21 deletions

View File

@@ -597,10 +597,9 @@ int Histories::sendRequest(
}
void Histories::checkPostponed(not_null<History*> history, int id) {
const auto state = lookup(history);
Assert(state != nullptr);
finishSentRequest(history, state, id);
if (const auto state = lookup(history)) {
finishSentRequest(history, state, id);
}
}
void Histories::cancelRequest(int id) {