mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-06 23:24:01 +02:00
Fix proxy sponsor messages search display.
This commit is contained in:
parent
a7f4ac2797
commit
d2d6a6daa4
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue