mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Display author photo / name in search results.
This commit is contained in:
@@ -664,7 +664,14 @@ void Notification::updateNotifyDisplay() {
|
||||
QRect r(st::notifyPhotoPos.x() + st::notifyPhotoSize + st::notifyTextLeft, st::notifyItemTop + st::msgNameFont->height, itemWidth, 2 * st::dialogsTextFont->height);
|
||||
if (_item) {
|
||||
auto active = false, selected = false;
|
||||
_item->drawInDialog(p, r, active, selected, textCachedFor, itemTextCache);
|
||||
_item->drawInDialog(
|
||||
p,
|
||||
r,
|
||||
active,
|
||||
selected,
|
||||
HistoryItem::DrawInDialog::Normal,
|
||||
textCachedFor,
|
||||
itemTextCache);
|
||||
} else if (_forwardedCount > 1) {
|
||||
p.setFont(st::dialogsTextFont);
|
||||
if (_author) {
|
||||
|
Reference in New Issue
Block a user