2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Update API scheme to layer 103.

This commit is contained in:
John Preston
2020-04-24 14:31:28 +04:00
parent c70a1f03de
commit 8d632bd2be
15 changed files with 98 additions and 101 deletions

View File

@@ -86,12 +86,12 @@ void Entry::cachePinnedIndex(FilterId filterId, int index) {
}
}
void Entry::cacheProxyPromoted(bool promoted) {
if (_isProxyPromoted != promoted) {
_isProxyPromoted = promoted;
void Entry::cacheTopPromoted(bool promoted) {
if (_isTopPromoted != promoted) {
_isTopPromoted = promoted;
updateChatListSortPosition();
updateChatListEntry();
if (!_isProxyPromoted) {
if (!_isTopPromoted) {
updateChatListExistence();
}
}