Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Use GroupCallOpts #10840

Closed
wants to merge 4 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/models/Call.ts
Original file line number Diff line number Diff line change
Expand Up @@ -722,13 +722,13 @@ export class ElementCall extends Call {
SettingsStore.getValue("feature_element_call_video_rooms") &&
room.isCallRoom();

const groupCall = new GroupCall(
room.client,
const groupCall = new GroupCall({
client: room.client,
room,
GroupCallType.Video,
false,
isVideoRoom ? GroupCallIntent.Room : GroupCallIntent.Prompt,
);
type: GroupCallType.Video,
isPtt: false,
intent: isVideoRoom ? GroupCallIntent.Room : GroupCallIntent.Prompt,
});

await groupCall.create();
}
Expand Down