2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 22:16:14 +00:00

Update API: support "All Chats" reordering.

This commit is contained in:
John Preston
2022-05-17 13:24:35 +04:00
parent 73bacfc650
commit fe91887ea2
13 changed files with 113 additions and 36 deletions

View File

@@ -419,7 +419,7 @@ void Filler::addInfo() {
void Filler::addToggleFolder() {
const auto controller = _controller;
const auto history = _request.key.history();
if (!history || history->owner().chatsFilters().list().empty()) {
if (!history || !history->owner().chatsFilters().has()) {
return;
}
_addAction(PeerMenuCallback::Args{