mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Fix crash in messages with hidden senders.
This commit is contained in:
@@ -903,10 +903,12 @@ void Reply::paint(
|
||||
if (namew > 0) {
|
||||
p.setPen(!inBubble
|
||||
? st->msgImgReplyBarColor()->c
|
||||
: FromNameFg(
|
||||
: (colorCollectible || colorIndexPlusOne)
|
||||
? FromNameFg(
|
||||
context,
|
||||
colorIndexPlusOne - 1,
|
||||
colorCollectible));
|
||||
colorCollectible)
|
||||
: stm->msgServiceFg->c);
|
||||
_name.drawLeftElided(
|
||||
p,
|
||||
x + st::historyReplyPadding.left() + previewSkip,
|
||||
|
||||
Reference in New Issue
Block a user