mirror of
https://github.com/vector-im/element-call.git
synced 2026-01-30 03:15:55 +00:00
use crypto.randomUUID()
This commit is contained in:
@@ -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 { v4 as uuidv4 } from "uuid";
|
||||
import { randomUUID } from "crypto";
|
||||
|
||||
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: uuidv4(),
|
||||
memberId: randomUUID(),
|
||||
};
|
||||
|
||||
const localTransport$ = createLocalTransport$({
|
||||
|
||||
Reference in New Issue
Block a user