Fix crash in search in group messages from user.

Fixes #27387.
This commit is contained in:
John Preston 2024-01-19 21:29:11 +04:00
parent 6d608bed98
commit bdeaf4f27a

View file

@ -296,6 +296,8 @@ void AddParticipantsBoxController::itemDeselectedHook(
void AddParticipantsBoxController::prepareViewHook() {
updateTitle();
TrackPremiumRequiredChanges(this, lifetime());
}
int AddParticipantsBoxController::alreadyInCount() const {
@ -713,8 +715,6 @@ void AddSpecialBoxController::prepare() {
loadMoreRows();
}
delegate()->peerListRefreshRows();
TrackPremiumRequiredChanges(this, lifetime());
}
void AddSpecialBoxController::prepareChatRows(not_null<ChatData*> chat) {