mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Update API scheme to layer 82.
This commit is contained in:
@@ -738,6 +738,7 @@ void DialogsWidget::loadDialogs() {
|
||||
const auto loadCount = firstLoad ? DialogsFirstLoad : DialogsPerPage;
|
||||
const auto flags = MTPmessages_GetDialogs::Flag::f_exclude_pinned;
|
||||
const auto feedId = 0;
|
||||
const auto hash = 0;
|
||||
_dialogsRequestId = MTP::send(
|
||||
MTPmessages_GetDialogs(
|
||||
MTP_flags(flags),
|
||||
@@ -747,7 +748,8 @@ void DialogsWidget::loadDialogs() {
|
||||
_dialogsOffsetPeer
|
||||
? _dialogsOffsetPeer->input
|
||||
: MTP_inputPeerEmpty(),
|
||||
MTP_int(loadCount)),
|
||||
MTP_int(loadCount),
|
||||
MTP_int(hash)),
|
||||
rpcDone(&DialogsWidget::dialogsReceived),
|
||||
rpcFail(&DialogsWidget::dialogsFailed));
|
||||
if (!_pinnedDialogsReceived) {
|
||||
|
Reference in New Issue
Block a user