Fix proxy promoted channel chats-list position.

This commit is contained in:
John Preston 2019-05-01 13:47:48 +04:00
parent 7669b8e12b
commit 6102795856
1 changed files with 1 additions and 1 deletions

View File

@ -2449,7 +2449,7 @@ bool History::useProxyPromotion() const {
}
int History::fixedOnTopIndex() const {
return isProxyPromoted() ? kProxyPromotionFixOnTopIndex : 0;
return useProxyPromotion() ? kProxyPromotionFixOnTopIndex : 0;
}
bool History::shouldBeInChatList() const {