2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

Revert "Removed unused code of hidden sender userpics for sponsored messages."

This reverts commit 3f19dc0486.
This commit is contained in:
John Preston
2023-12-01 09:18:22 +04:00
parent 0e2131e6eb
commit fe12c3639b
6 changed files with 115 additions and 1 deletions

View File

@@ -326,6 +326,13 @@ void PaintRow(
context.st->padding.top(),
context.width,
context.st->photoSize);
} else if (!from && hiddenSenderInfo) {
hiddenSenderInfo->emptyUserpic.paintCircle(
p,
context.st->padding.left(),
context.st->padding.top(),
context.width,
context.st->photoSize);
} else if (!(flags & Flag::AllowUserOnline)) {
PaintUserpic(
p,