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:
@@ -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);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user