Update API scheme to layer 202.

This commit is contained in:
John Preston
2025-03-24 21:58:06 +04:00
parent 8e643fbf87
commit 214cc83d4a
20 changed files with 179 additions and 15 deletions
@@ -1005,6 +1005,8 @@ void ChannelData::setGroupCall(
owner().registerGroupCall(_call.get());
session().changes().peerUpdated(this, UpdateFlag::GroupCall);
addFlags(Flag::CallActive);
}, [&](const MTPDinputGroupCallSlug &) {
clearGroupCall();
});
}
+2
View File
@@ -238,6 +238,8 @@ void ChatData::setGroupCall(
owner().registerGroupCall(_call.get());
session().changes().peerUpdated(this, UpdateFlag::GroupCall);
addFlags(Flag::CallActive);
}, [&](const MTPDinputGroupCallSlug &) {
clearGroupCall();
});
}
@@ -60,7 +60,7 @@ bool GroupCallParticipant::screenPaused() const {
GroupCall::GroupCall(
not_null<PeerData*> peer,
CallId id,
CallId accessHash,
uint64 accessHash,
TimeId scheduleDate,
bool rtmp)
: _id(id)
+2 -2
View File
@@ -56,7 +56,7 @@ public:
GroupCall(
not_null<PeerData*> peer,
CallId id,
CallId accessHash,
uint64 accessHash,
TimeId scheduleDate,
bool rtmp);
~GroupCall();
@@ -201,7 +201,7 @@ private:
[[nodiscard]] Participant *findParticipant(not_null<PeerData*> peer);
const CallId _id = 0;
const CallId _accessHash = 0;
const uint64 _accessHash = 0;
not_null<PeerData*> _peer;
int _version = 0;