diff --git a/Telegram/SourceFiles/history/history.cpp b/Telegram/SourceFiles/history/history.cpp index b7024dd3ea..747c23c9e3 100644 --- a/Telegram/SourceFiles/history/history.cpp +++ b/Telegram/SourceFiles/history/history.cpp @@ -2449,7 +2449,7 @@ bool History::useProxyPromotion() const { } int History::fixedOnTopIndex() const { - return isProxyPromoted() ? kProxyPromotionFixOnTopIndex : 0; + return useProxyPromotion() ? kProxyPromotionFixOnTopIndex : 0; } bool History::shouldBeInChatList() const {