Fix proxy promotion in compact chat list

This commit is contained in:
Eric Kotato 2020-05-01 19:27:40 +03:00
parent e83a2c5ca2
commit a3999591d3

View file

@ -300,7 +300,7 @@ void paintOneLineRow(
namewidth,
st::dialogsTextFont->height);
const auto promoted = (history && history->useProxyPromotion())
const auto promoted = (history && history->useTopPromotion())
&& !(flags & (Flag::SearchResult/* | Flag::FeedSearchResult*/)); // #feed
if (promoted) {
const auto text = tr::lng_proxy_sponsor(tr::now);