mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-03-29 15:01:03 +00:00
Fix proxy promoted channel chats-list position.
This commit is contained in:
parent
7669b8e12b
commit
6102795856
@ -2449,7 +2449,7 @@ bool History::useProxyPromotion() const {
|
||||
}
|
||||
|
||||
int History::fixedOnTopIndex() const {
|
||||
return isProxyPromoted() ? kProxyPromotionFixOnTopIndex : 0;
|
||||
return useProxyPromotion() ? kProxyPromotionFixOnTopIndex : 0;
|
||||
}
|
||||
|
||||
bool History::shouldBeInChatList() const {
|
||||
|
Loading…
Reference in New Issue
Block a user