mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Implement audio/video confcall invitations.
This commit is contained in:
@@ -1010,6 +1010,7 @@ void Instance::showConferenceInvite(
|
||||
const auto media = item ? item->media() : nullptr;
|
||||
const auto call = media ? media->call() : nullptr;
|
||||
const auto conferenceId = call ? call->conferenceId : 0;
|
||||
const auto video = call->video;
|
||||
if (!conferenceId
|
||||
|| call->state != Data::CallState::Invitation
|
||||
|| user->isSelf()) {
|
||||
@@ -1036,7 +1037,8 @@ void Instance::showConferenceInvite(
|
||||
delegate,
|
||||
user,
|
||||
conferenceId,
|
||||
conferenceInviteMsgId);
|
||||
conferenceInviteMsgId,
|
||||
video);
|
||||
const auto raw = call.get();
|
||||
|
||||
user->session().account().sessionChanges(
|
||||
|
||||
Reference in New Issue
Block a user