Update API scheme to layer 217.

This commit is contained in:
John Preston
2025-10-06 13:51:09 +04:00
parent 7a5554202e
commit c4d5d52b96
23 changed files with 100 additions and 23 deletions

View File

@@ -450,10 +450,8 @@ void GroupCall::discard(const MTPDgroupCallDiscarded &data) {
Core::App().calls().applyGroupCallUpdateChecked(
&peer->session(),
MTP_updateGroupCall(
MTP_flags(MTPDupdateGroupCall::Flag::f_chat_id),
MTP_long(peer->isChat()
? peerToChat(peer->id).bare
: peerToChannel(peer->id).bare),
MTP_flags(MTPDupdateGroupCall::Flag::f_peer),
peerToMTP(peer->id),
MTP_groupCallDiscarded(
data.vid(),
data.vaccess_hash(),