2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-05 09:05:14 +00:00

Updated TDesktop sources to 2.5.1+feff514

This commit is contained in:
RadRussianRus
2020-12-23 22:04:48 +03:00
498 changed files with 19467 additions and 6552 deletions

View File

@@ -432,6 +432,8 @@ void paintRow(
p.fillRect(fullRect, bg);
row->paintRipple(p, 0, 0, fullWidth, &ripple->c);
const auto history = chat.history();
if (flags & Flag::SavedMessages) {
Ui::EmptyUserpic::PaintSavedMessages(
p,
@@ -450,7 +452,8 @@ void paintRow(
row->paintUserpic(
p,
from,
(flags & Flag::AllowUserOnline),
(flags & Flag::AllowUserOnline) ? history : nullptr,
ms,
active,
fullWidth);
} else if (hiddenSenderInfo) {
@@ -480,7 +483,6 @@ void paintRow(
return;
}
const auto history = chat.history();
auto namewidth = fullWidth - nameleft - st::dialogsPadding.x();
auto rectForName = QRect(
nameleft,