2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-03 16:15:13 +00:00

Updated TDesktop sources to 3.1

This commit is contained in:
RadRussianRus
2021-09-19 23:21:15 +03:00
390 changed files with 10214 additions and 5186 deletions

View File

@@ -856,14 +856,14 @@ bool Widget::onSearchMessages(bool searchCache) {
: MTP_inputPeerEmpty()),
MTPint(), // top_msg_id
MTP_inputMessagesFilterEmpty(),
MTP_int(0),
MTP_int(0),
MTP_int(0),
MTP_int(0),
MTP_int(0), // min_date
MTP_int(0), // max_date
MTP_int(0), // offset_id
MTP_int(0), // add_offset
MTP_int(SearchPerPage),
MTP_int(0),
MTP_int(0),
MTP_int(0)
MTP_int(0), // max_id
MTP_int(0), // min_id
MTP_long(0) // hash
)).done([=](const MTPmessages_Messages &result) {
_searchInHistoryRequest = 0;
searchReceived(type, result, _searchRequest);
@@ -1021,14 +1021,14 @@ void Widget::onSearchMore() {
: MTP_inputPeerEmpty()),
MTPint(), // top_msg_id
MTP_inputMessagesFilterEmpty(),
MTP_int(0),
MTP_int(0),
MTP_int(0), // min_date
MTP_int(0), // max_date
MTP_int(offsetId),
MTP_int(0),
MTP_int(0), // add_offset
MTP_int(SearchPerPage),
MTP_int(0),
MTP_int(0),
MTP_int(0)
MTP_int(0), // max_id
MTP_int(0), // min_id
MTP_long(0) // hash
)).done([=](const MTPmessages_Messages &result) {
searchReceived(type, result, _searchRequest);
_searchInHistoryRequest = 0;
@@ -1094,14 +1094,14 @@ void Widget::onSearchMore() {
: MTP_inputPeerEmpty()),
MTPint(), // top_msg_id
MTP_inputMessagesFilterEmpty(),
MTP_int(0),
MTP_int(0),
MTP_int(0), // min_date
MTP_int(0), // max_date
MTP_int(offsetMigratedId),
MTP_int(0),
MTP_int(0), // add_offset
MTP_int(SearchPerPage),
MTP_int(0),
MTP_int(0),
MTP_int(0)
MTP_int(0), // max_id
MTP_int(0), // min_id
MTP_long(0) // hash
)).done([=](const MTPmessages_Messages &result) {
searchReceived(type, result, _searchRequest);
_searchInHistoryRequest = 0;