2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-02 15:45:12 +00:00

Fix lagging chat list update in support.

This commit is contained in:
John Preston
2018-12-30 13:16:50 +04:00
parent 30e8f17b37
commit c11b977f1d
10 changed files with 18 additions and 23 deletions

View File

@@ -73,6 +73,7 @@ void Entry::updateChatListSortPosition() {
if (Auth().supportMode()
&& _sortKeyInChatList != 0
&& Auth().settings().supportFixChatsOrder()) {
updateChatListEntry();
return;
}
_sortKeyInChatList = useProxyPromotion()
@@ -199,6 +200,10 @@ void Entry::updateChatListEntry() const {
mainChatListLink(Mode::Important));
}
}
if (Auth().supportMode()
&& !Auth().settings().supportAllSearchResults()) {
main->repaintDialogRow({ _key, FullMsgId() });
}
}
}