mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 22:46:10 +00:00
Delete history for specific days in private chats.
This commit is contained in:
@@ -284,7 +284,7 @@ Widget::Widget(
|
||||
}, lifetime());
|
||||
|
||||
_cancelSearch->setClickedCallback([this] { onCancelSearch(); });
|
||||
_jumpToDate->entity()->setClickedCallback([this] { showJumpToDate(); });
|
||||
_jumpToDate->entity()->setClickedCallback([this] { showCalendar(); });
|
||||
_chooseFromUser->entity()->setClickedCallback([this] { showSearchFrom(); });
|
||||
rpl::single(
|
||||
rpl::empty_value()
|
||||
@@ -1453,9 +1453,9 @@ void Widget::clearSearchCache() {
|
||||
cancelSearchRequest();
|
||||
}
|
||||
|
||||
void Widget::showJumpToDate() {
|
||||
void Widget::showCalendar() {
|
||||
if (_searchInChat) {
|
||||
controller()->showJumpToDate(_searchInChat, QDate());
|
||||
controller()->showCalendar(_searchInChat, QDate());
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user