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

Added ability to start video recording in group calls.

This commit is contained in:
23rd
2021-09-07 14:33:20 +03:00
committed by John Preston
parent 19611d5b26
commit cd59ba6629
16 changed files with 593 additions and 95 deletions

View File

@@ -389,7 +389,10 @@ void GroupCall::applyCallFields(const MTPDgroupCall &data) {
setServerParticipantsCount(data.vparticipants_count().v);
changePeerEmptyCallFlag();
_title = qs(data.vtitle().value_or_empty());
_recordStartDate = data.vrecord_start_date().value_or_empty();
{
_recordVideo = data.is_record_video_active();
_recordStartDate = data.vrecord_start_date().value_or_empty();
}
_scheduleDate = data.vschedule_date().value_or_empty();
_scheduleStartSubscribed = data.is_schedule_start_subscribed();
_unmutedVideoLimit = data.vunmuted_video_limit().v;