mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Remove old download priority arguments.
This commit is contained in:
@@ -499,13 +499,13 @@ void Panel::hideAndDestroy() {
|
||||
|
||||
void Panel::processUserPhoto() {
|
||||
if (!_user->userpicLoaded()) {
|
||||
_user->loadUserpic(true);
|
||||
_user->loadUserpic();
|
||||
}
|
||||
const auto photo = _user->userpicPhotoId()
|
||||
? _user->owner().photo(_user->userpicPhotoId()).get()
|
||||
: nullptr;
|
||||
if (isGoodUserPhoto(photo)) {
|
||||
photo->large()->load(_user->userpicPhotoOrigin(), true);
|
||||
photo->large()->load(_user->userpicPhotoOrigin());
|
||||
} else if (_user->userpicPhotoUnknown() || (photo && !photo->date)) {
|
||||
_user->session().api().requestFullPeer(_user);
|
||||
}
|
||||
|
Reference in New Issue
Block a user