Fix possible crash in forward box.

This commit is contained in:
John Preston 2025-01-06 21:10:49 +04:00
parent 92ff07f723
commit e0dd77f0c3

View file

@ -2282,6 +2282,8 @@ void ParticipantsBoxSearchController::restoreState(
_allLoaded = my->allLoaded;
_offset = my->offset;
_query = my->query;
_timer.cancel();
_requestId = 0;
if (my->wasLoading) {
searchOnServer();
}