Wait for full user info before intro creation.
This commit is contained in:
parent
7886a2179f
commit
b31c30b9b6
|
@ -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);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue