diff --git a/src/matrix-utils.js b/src/matrix-utils.js index bef1b80..bdca07d 100644 --- a/src/matrix-utils.js +++ b/src/matrix-utils.js @@ -111,7 +111,7 @@ export async function createRoom(client, name, isPtt = false) { await client.createGroupCall( room_id, - GroupCallType.Video, + isPtt ? GroupCallType.Voice : GroupCallType.Video, isPtt, GroupCallIntent.Prompt );