From 89e5e5b10aaa4c4679e8b76e2eb74e32eb8ac3e6 Mon Sep 17 00:00:00 2001 From: Timo K Date: Mon, 12 Jan 2026 12:34:50 +0100 Subject: [PATCH] fix uuid --- src/state/CallViewModel/CallViewModel.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/state/CallViewModel/CallViewModel.ts b/src/state/CallViewModel/CallViewModel.ts index aea0f7fa..bf3e9521 100644 --- a/src/state/CallViewModel/CallViewModel.ts +++ b/src/state/CallViewModel/CallViewModel.ts @@ -47,7 +47,7 @@ import { } from "matrix-js-sdk/lib/matrixrtc"; import { type IWidgetApiRequest } from "matrix-widget-api"; import { type CallMembershipIdentityParts } from "matrix-js-sdk/lib/matrixrtc/EncryptionManager"; -import { randomUUID } from "crypto"; +import { v4 as uuidv4 } from "uuid"; import { LocalUserMediaViewModel, @@ -432,7 +432,7 @@ export function createCallViewModel$( userId, deviceId, // This will only be consumed by the sticky membership manager. So it has no impact on legacy calls. - memberId: randomUUID(), + memberId: uuidv4(), }; const localTransport$ = createLocalTransport$({