mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-05 09:05:14 +00:00
Save pinned chats in filters to server.
This commit is contained in:
@@ -44,6 +44,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
#include "ui/widgets/multi_select.h"
|
||||
#include "ui/empty_userpic.h"
|
||||
#include "ui/unread_badge.h"
|
||||
#include "api/api_chat_filters.h"
|
||||
#include "facades.h"
|
||||
#include "styles/style_dialogs.h"
|
||||
#include "styles/style_chat_helpers.h"
|
||||
@@ -1137,7 +1138,7 @@ void InnerWidget::savePinnedOrder() {
|
||||
}
|
||||
}
|
||||
if (_filterId) {
|
||||
// #TODO pinned reorder data and to server
|
||||
Api::SaveNewFilterPinned(&session(), _filterId);
|
||||
} else {
|
||||
session().api().savePinnedOrder(_openedFolder);
|
||||
}
|
||||
|
Reference in New Issue
Block a user