2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Update API scheme to layer 148, start forums.

This commit is contained in:
John Preston
2022-09-20 13:35:47 +04:00
parent 87b228b256
commit c88140e256
25 changed files with 349 additions and 40 deletions

View File

@@ -153,7 +153,12 @@ private:
void updateControlsGeometry();
void refreshFolderTopBar();
void checkUpdateStatus();
void changeOpenedSubsection(
FnMut<void()> change,
bool fromRight,
anim::type animated);
void changeOpenedFolder(Data::Folder *folder, anim::type animated);
void changeOpenedForum(ChannelData *forum, anim::type animated);
QPixmap grabForFolderSlideAnimation();
void startSlideAnimation();
@@ -209,6 +214,7 @@ private:
object_ptr<Ui::HistoryDownButton> _scrollToTop;
Data::Folder *_openedFolder = nullptr;
ChannelData *_openedForum = nullptr;
Dialogs::Key _searchInChat;
History *_searchInMigrated = nullptr;
PeerData *_searchFromAuthor = nullptr;