mirror of https://github.com/procxx/kepka.git
Fix proxy sponsor messages search display.
This commit is contained in:
parent
a7f4ac2797
commit
d2d6a6daa4
|
@ -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…
Reference in New Issue