Wait for full user info before intro creation.

This commit is contained in:
John Preston 2024-03-21 14:09:52 +04:00
parent 7886a2179f
commit b31c30b9b6
1 changed files with 3 additions and 4 deletions

View File

@ -4083,14 +4083,13 @@ void HistoryInner::refreshAboutView() {
_history->delegateMixin()->delegate()); _history->delegateMixin()->delegate());
} }
} else if (!historyHeight()) { } else if (!historyHeight()) {
if (!_aboutView) { if (!user->isFullLoaded()) {
session().api().requestFullPeer(user);
} else if (!_aboutView) {
_aboutView = std::make_unique<HistoryView::AboutView>( _aboutView = std::make_unique<HistoryView::AboutView>(
_history, _history,
_history->delegateMixin()->delegate()); _history->delegateMixin()->delegate());
} }
if (!user->isFullLoaded()) {
session().api().requestFullPeer(user);
}
} }
} }
} }