2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-01 06:55:58 +00:00

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

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);
}
} }
} }
} }