mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 23:27:09 +02:00
Fix UserpicButton loading an avatar.
This commit is contained in:
parent
19f346e658
commit
d697a57834
1 changed files with 2 additions and 7 deletions
|
@ -196,13 +196,8 @@ UserpicButton::UserpicButton(
|
|||
, _source(Source::PeerPhoto) {
|
||||
Expects(_role != Role::OpenPhoto);
|
||||
|
||||
if (_source == Source::Custom) {
|
||||
showCustom({});
|
||||
} else {
|
||||
processPeerPhoto();
|
||||
setupPeerViewers();
|
||||
}
|
||||
_waiting = false;
|
||||
processPeerPhoto();
|
||||
setupPeerViewers();
|
||||
prepare();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue