From bc4a541383be0bd8dc36ecb638c851a9001acec9 Mon Sep 17 00:00:00 2001 From: fkwp Date: Wed, 4 Dec 2024 13:46:31 +0100 Subject: [PATCH] increase ringing timeout from 10 seconds to 90 seconds --- src/toasts/IncomingCallToast.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/toasts/IncomingCallToast.tsx b/src/toasts/IncomingCallToast.tsx index bdad2d4565..58e6980733 100644 --- a/src/toasts/IncomingCallToast.tsx +++ b/src/toasts/IncomingCallToast.tsx @@ -33,7 +33,7 @@ import { useEventEmitter } from "../hooks/useEventEmitter"; import { CallStore, CallStoreEvent } from "../stores/CallStore"; export const getIncomingCallToastKey = (callId: string, roomId: string): string => `call_${callId}_${roomId}`; -const MAX_RING_TIME_MS = 10 * 1000; +const MAX_RING_TIME_MS = 90 * 1000; interface JoinCallButtonWithCallProps { onClick: (e: ButtonEvent) => void;