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

Post-merge fixes

This commit is contained in:
RadRussianRus
2020-12-24 17:05:17 +03:00
parent 6230ec59dd
commit 0fe738ee3a
7 changed files with 20 additions and 12 deletions

View File

@@ -263,6 +263,8 @@ void paintOneLineRow(
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,
@@ -274,7 +276,8 @@ void paintOneLineRow(
row->paintUserpic(
p,
from,
(flags & Flag::AllowUserOnline),
(flags & Flag::AllowUserOnline) ? history : nullptr,
ms,
active,
fullWidth);
} else if (hiddenSenderInfo) {
@@ -302,7 +305,6 @@ void paintOneLineRow(
return;
}
const auto history = chat.history();
auto namewidth = fullWidth - nameleft - st::dialogsPadding.x();
auto rectForName = QRect(
nameleft,