mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-19 07:37:11 +02:00
fix: crash
This commit is contained in:
parent
af18da81f4
commit
77d129a738
1 changed files with 1 additions and 1 deletions
|
@ -361,7 +361,7 @@ QImage Make(not_null<QWidget*> box, const ShotConfig &config) {
|
|||
const auto picY = y + view->height() - st::msgPhotoSize;
|
||||
|
||||
auto userpicView =
|
||||
!message->displayFrom()->activeUserpicView().null()
|
||||
message->displayFrom()->hasUserpic()
|
||||
? message->displayFrom()->activeUserpicView()
|
||||
: message->displayFrom()->createUserpicView();
|
||||
message->displayFrom()->paintUserpic(p, userpicView, picX, picY, st::msgPhotoSize);
|
||||
|
|
Loading…
Add table
Reference in a new issue