mirror of
https://github.com/vector-im/element-call.git
synced 2024-11-15 00:04:59 +08:00
Make room / call creation logging more accurate
It said it was creating the room when actually it was creating the call
This commit is contained in:
parent
3f341de78f
commit
bd08166a50
@ -225,6 +225,7 @@ export async function createRoom(
|
||||
name: string,
|
||||
ptt: boolean
|
||||
): Promise<[string, string]> {
|
||||
console.log(`Creating room for froup call`);
|
||||
const createPromise = client.createRoom({
|
||||
visibility: Visibility.Private,
|
||||
preset: Preset.PublicChat,
|
||||
@ -276,7 +277,9 @@ export async function createRoom(
|
||||
|
||||
const result = await createPromise;
|
||||
|
||||
console.log(`Creating ${ptt ? "PTT" : "video"} group call room`);
|
||||
console.log(
|
||||
`Creating ${ptt ? "PTT" : "video"} group call in ${result.room_id}`
|
||||
);
|
||||
|
||||
await client.createGroupCall(
|
||||
result.room_id,
|
||||
|
Loading…
Reference in New Issue
Block a user