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

View File

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