mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-04-01 00:08:02 +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 {
|
int History::fixedOnTopIndex() const {
|
||||||
return isProxyPromoted() ? kProxyPromotionFixOnTopIndex : 0;
|
return useProxyPromotion() ? kProxyPromotionFixOnTopIndex : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool History::shouldBeInChatList() const {
|
bool History::shouldBeInChatList() const {
|
||||||
|
Loading…
Reference in New Issue
Block a user