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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user