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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user