From 3b16645b59b7df1ee6881f91a62df34761b41c90 Mon Sep 17 00:00:00 2001 From: David Baker Date: Tue, 16 Feb 2021 18:52:49 +0000 Subject: [PATCH] Make fields optional --- src/CallHandler.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/CallHandler.tsx b/src/CallHandler.tsx index 63b849af4b..b42b2cdc7c 100644 --- a/src/CallHandler.tsx +++ b/src/CallHandler.tsx @@ -107,15 +107,15 @@ interface ThirdpartyLookupResponseFields { /* eslint-disable camelcase */ // im.vector.sip_native - virtual_mxid: string; - is_virtual: boolean; + virtual_mxid?: string; + is_virtual?: boolean; // im.vector.sip_virtual - native_mxid: string; - is_native: boolean; + native_mxid?: string; + is_native?: boolean; // common - lookup_success: boolean; + lookup_success?: boolean; /* eslint-enable camelcase */ }