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

Search through Histories.

This commit is contained in:
John Preston
2020-02-21 16:57:06 +04:00
parent 6f672ecdc3
commit ec7a2dce2f
6 changed files with 168 additions and 110 deletions

View File

@@ -136,6 +136,7 @@ private:
const MTPcontacts_Found &result,
mtpRequestId requestId);
void escape();
void cancelSearchRequest();
void setupSupportMode();
void setupConnectingWidget();
@@ -219,6 +220,7 @@ private:
int32 _searchNextRate = 0;
bool _searchFull = false;
bool _searchFullMigrated = false;
int _searchInHistoryRequest = 0; // Not real mtpRequestId.
mtpRequestId _searchRequest = 0;
QMap<QString, MTPmessages_Messages> _searchCache;