rename url param to autoLeave

This commit is contained in:
Timo
2025-08-08 16:02:27 +02:00
committed by Timo K
parent 1ed9c9dbcf
commit b36e543049
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -163,7 +163,7 @@ export const ActiveCall: FC<ActiveCallProps> = (props) => {
};
}, [livekitRoom]);
const { telephoneAutoLeave } = useUrlParams();
const { autoLeaveWhenOthersLeft } = useUrlParams();
useEffect(() => {
if (livekitRoom !== undefined) {
@@ -174,7 +174,7 @@ export const ActiveCall: FC<ActiveCallProps> = (props) => {
mediaDevices,
{
encryptionSystem: props.e2eeSystem,
autoLeaveWhenOthersLeft: telephoneAutoLeave,
autoLeaveWhenOthersLeft,
},
connStateObservable$,
reactionsReader.raisedHands$,
@@ -192,7 +192,7 @@ export const ActiveCall: FC<ActiveCallProps> = (props) => {
mediaDevices,
props.e2eeSystem,
connStateObservable$,
telephoneAutoLeave,
autoLeaveWhenOthersLeft,
]);
if (livekitRoom === undefined || vm === null) return null;