2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Update API scheme on layer 202.

This commit is contained in:
John Preston
2025-04-09 10:28:21 +04:00
parent a569495f5d
commit 2a7aac76d9
14 changed files with 104 additions and 145 deletions

View File

@@ -295,6 +295,10 @@ rpl::producer<int> GroupCall::fullCountValue() const {
return _fullCount.value();
}
QString GroupCall::conferenceInviteLink() const {
return _conferenceInviteLink;
}
bool GroupCall::participantsLoaded() const {
return _allParticipantsLoaded;
}
@@ -515,6 +519,7 @@ void GroupCall::applyCallFields(const MTPDgroupCall &data) {
_unmutedVideoLimit = data.vunmuted_video_limit().v;
_allParticipantsLoaded
= (_serverParticipantsCount == _participants.size());
_conferenceInviteLink = qs(data.vinvite_link().value_or_empty());
}
void GroupCall::applyLocalUpdate(