mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-07-27 07:52:57 +02:00
Fix applying some Data::GroupCall updates.
This commit is contained in:
parent
eb06c0da08
commit
3a68dd50ce
1 changed files with 4 additions and 3 deletions
|
@ -1092,8 +1092,8 @@ void GroupCall::setState(State state) {
|
|||
|
||||
if (state == State::Joined) {
|
||||
stopConnectingSound();
|
||||
if (const auto call = _peer->groupCall(); call && call->id() == _id) {
|
||||
call->setInCall();
|
||||
if (const auto real = lookupReal()) {
|
||||
real->setInCall();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1950,7 +1950,7 @@ void GroupCall::applyParticipantLocally(
|
|||
| (participant->raisedHandRating
|
||||
? Flag::f_raise_hand_rating
|
||||
: Flag(0));
|
||||
_peer->groupCall()->applyLocalUpdate(
|
||||
lookupReal()->applyLocalUpdate(
|
||||
MTP_updateGroupCallParticipants(
|
||||
inputCall(),
|
||||
MTP_vector<MTPGroupCallParticipant>(
|
||||
|
@ -2893,6 +2893,7 @@ bool GroupCall::tryCreateScreencast() {
|
|||
.createAudioDeviceModule = Webrtc::LoopbackAudioDeviceModuleCreator(),
|
||||
.videoCapture = _screenCapture,
|
||||
.videoContentType = tgcalls::VideoContentType::Screencast,
|
||||
.e2eEncryptDecrypt = _e2e ? _e2e->callbackEncryptDecrypt() : nullptr,
|
||||
};
|
||||
|
||||
LOG(("Call Info: Creating group screen instance"));
|
||||
|
|
Loading…
Add table
Reference in a new issue