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

Update API scheme to layer 132.

This commit is contained in:
John Preston
2021-08-24 20:57:54 +03:00
parent 558e1d96fd
commit 0cfede984c
11 changed files with 126 additions and 29 deletions

View File

@@ -320,8 +320,9 @@ void SessionNavigation::showPeerByLinkResolved(
return;
}
const auto id = call->id();
const auto limit = 3;
_resolveRequestId = _session->api().request(
MTPphone_GetGroupCall(call->input())
MTPphone_GetGroupCall(call->input(), MTP_int(limit))
).done([=](const MTPphone_GroupCall &result) {
if (const auto now = peer->groupCall()
; now && now->id() == id) {