mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Fix proxy sponsor messages search display.
This commit is contained in:
@@ -241,7 +241,8 @@ void paintRow(
|
||||
namewidth,
|
||||
st::msgNameFont->height);
|
||||
|
||||
const auto promoted = chat.entry()->useProxyPromotion();
|
||||
const auto promoted = chat.entry()->useProxyPromotion()
|
||||
&& !(flags & (Flag::SearchResult | Flag::FeedSearchResult));
|
||||
if (promoted) {
|
||||
const auto text = lang(lng_proxy_sponsor);
|
||||
paintRowTopRight(p, text, rectForName, active, selected);
|
||||
|
||||
Reference in New Issue
Block a user