mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 06:07:06 +02:00
Wait for full user info before intro creation.
This commit is contained in:
parent
7886a2179f
commit
b31c30b9b6
1 changed files with 3 additions and 4 deletions
|
@ -4083,14 +4083,13 @@ void HistoryInner::refreshAboutView() {
|
|||
_history->delegateMixin()->delegate());
|
||||
}
|
||||
} else if (!historyHeight()) {
|
||||
if (!_aboutView) {
|
||||
if (!user->isFullLoaded()) {
|
||||
session().api().requestFullPeer(user);
|
||||
} else if (!_aboutView) {
|
||||
_aboutView = std::make_unique<HistoryView::AboutView>(
|
||||
_history,
|
||||
_history->delegateMixin()->delegate());
|
||||
}
|
||||
if (!user->isFullLoaded()) {
|
||||
session().api().requestFullPeer(user);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue