mirror of
https://github.com/vector-im/element-call.git
synced 2026-02-23 05:07:03 +00:00
dont throw disconnected error at start of the call
Signed-off-by: Timo K <toger5@hotmail.de>
This commit is contained in:
@@ -209,8 +209,9 @@ export const InCallView: FC<InCallViewProps> = ({
|
||||
|
||||
// annoyingly we don't get the disconnection reason this way,
|
||||
// only by listening for the emitted event
|
||||
if (connectionState === ConnectionState.Disconnected)
|
||||
throw new ConnectionLostError();
|
||||
// This needs to be done differential. with the vm connection state we start with Disconnected.
|
||||
// if (connectionState === ConnectionState.Disconnected)
|
||||
// throw new ConnectionLostError();
|
||||
|
||||
const containerRef1 = useRef<HTMLDivElement | null>(null);
|
||||
const [containerRef2, bounds] = useMeasure();
|
||||
|
||||
Reference in New Issue
Block a user