From 6102795856da974aa9d86b62d148d236844d27ee Mon Sep 17 00:00:00 2001 From: John Preston Date: Wed, 1 May 2019 13:47:48 +0400 Subject: [PATCH] Fix proxy promoted channel chats-list position. --- Telegram/SourceFiles/history/history.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {