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

[all] / [one from chat] in support search results.

This commit is contained in:
John Preston
2018-12-30 12:40:25 +04:00
parent 2c3190ce2a
commit 30e8f17b37
6 changed files with 100 additions and 38 deletions

View File

@@ -222,8 +222,9 @@ private:
void updateSearchResult(not_null<PeerData*> peer);
void updateDialogRow(
Dialogs::RowDescriptor row,
QRect updateRect,
QRect updateRect = QRect(),
UpdateRowSections sections = UpdateRowSection::All);
void fillSupportSearchMenu(not_null<Ui::PopupMenu*> menu);
int dialogsOffset() const;
int proxyPromotedCount() const;
@@ -368,7 +369,7 @@ private:
UserData *_searchFromUser = nullptr;
Text _searchInChatText;
Text _searchFromUserText;
Dialogs::Key _menuKey;
Dialogs::RowDescriptor _menuRow;
Fn<void()> _loadMoreCallback;
rpl::event_stream<> _listBottomReached;