mirror of
https://github.com/vector-im/element-call.git
synced 2026-02-23 05:07:03 +00:00
fix lint
This commit is contained in:
@@ -246,8 +246,15 @@ export const DeveloperSettingsTab: FC<Props> = ({
|
||||
}
|
||||
|
||||
try {
|
||||
const userId = client.getUserId();
|
||||
const deviceId = client.getDeviceId();
|
||||
|
||||
if (userId === null || deviceId === null) {
|
||||
throw new Error("Invalid user or device ID");
|
||||
}
|
||||
await getSFUConfigWithOpenID(
|
||||
client,
|
||||
{ userId, deviceId, memberId: "" },
|
||||
customLivekitUrlTextBuffer,
|
||||
roomId,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user