mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Fix possible crash in forward preview.
This commit is contained in:
parent
7c1510b611
commit
6b96466c5e
1 changed files with 1 additions and 1 deletions
|
@ -370,7 +370,7 @@ void PreviewWrap::paintEvent(QPaintEvent *e) {
|
|||
userpicTop,
|
||||
width(),
|
||||
st::msgPhotoSize);
|
||||
} else if (const auto info = item->originalHiddenSenderInfo()) {
|
||||
} else if (const auto info = item->displayHiddenSenderInfo()) {
|
||||
if (info->customUserpic.empty()) {
|
||||
info->emptyUserpic.paintCircle(
|
||||
p,
|
||||
|
|
Loading…
Add table
Reference in a new issue