Fix proxy promotion in compact chat list
This commit is contained in:
parent
e83a2c5ca2
commit
a3999591d3
1 changed files with 1 additions and 1 deletions
|
|
@ -300,7 +300,7 @@ void paintOneLineRow(
|
||||||
namewidth,
|
namewidth,
|
||||||
st::dialogsTextFont->height);
|
st::dialogsTextFont->height);
|
||||||
|
|
||||||
const auto promoted = (history && history->useProxyPromotion())
|
const auto promoted = (history && history->useTopPromotion())
|
||||||
&& !(flags & (Flag::SearchResult/* | Flag::FeedSearchResult*/)); // #feed
|
&& !(flags & (Flag::SearchResult/* | Flag::FeedSearchResult*/)); // #feed
|
||||||
if (promoted) {
|
if (promoted) {
|
||||||
const auto text = tr::lng_proxy_sponsor(tr::now);
|
const auto text = tr::lng_proxy_sponsor(tr::now);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue