mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-01 06:55:58 +00:00
Export panel minimizes to a top bar, like a Call.
This commit is contained in:
@@ -699,6 +699,7 @@ void ApiWrap::requestMessages(
|
||||
void ApiWrap::requestDialogsSlice() {
|
||||
Expects(_dialogsProcess != nullptr);
|
||||
|
||||
LOG(("REQUEST %1 %2").arg(_dialogsProcess->offsetDate).arg(_dialogsProcess->offsetId));
|
||||
mainRequest(MTPmessages_GetDialogs(
|
||||
MTP_flags(0),
|
||||
MTP_int(_dialogsProcess->offsetDate),
|
||||
@@ -722,6 +723,10 @@ void ApiWrap::requestDialogsSlice() {
|
||||
_dialogsProcess->offsetDate = last.topMessageDate;
|
||||
_dialogsProcess->offsetPeer = last.input;
|
||||
|
||||
for (const auto &item : info.list) {
|
||||
LOG(("RESULT: %1 %2").arg(item.topMessageDate).arg(item.topMessageId));
|
||||
}
|
||||
|
||||
appendDialogsSlice(std::move(info));
|
||||
|
||||
const auto count = _dialogsProcess->info.list.size();
|
||||
|
Reference in New Issue
Block a user