mirror of
https://github.com/vector-im/element-call.git
synced 2024-11-15 00:04:59 +08:00
Null check
This commit is contained in:
parent
3220d06616
commit
795566ccef
@ -79,8 +79,8 @@ export async function initClient(
|
||||
// options we always pass to the client (stuff that we need in order to work)
|
||||
const baseOpts = {
|
||||
fallbackICEServerAllowed: fallbackICEServerAllowed,
|
||||
localSfuUserId: Config.get().temp_sfu.user_id,
|
||||
localSfuDeviceId: Config.get().temp_sfu.device_id,
|
||||
localSfuUserId: Config.get().temp_sfu?.user_id,
|
||||
localSfuDeviceId: Config.get().temp_sfu?.device_id,
|
||||
} as ICreateClientOpts;
|
||||
|
||||
if (indexedDB && localStorage && !import.meta.env.DEV) {
|
||||
|
Loading…
Reference in New Issue
Block a user