();
const [optInAnalytics] = useOptInAnalytics();
@@ -72,14 +70,13 @@ export function RegisteredView({ client, isPasswordlessUser }: Props) {
typeof roomNameData === "string"
? sanitiseRoomNameInput(roomNameData)
: "";
- const ptt = callType === CallType.Radio;
async function submit() {
setError(undefined);
setLoading(true);
const roomId = (
- await createRoom(client, roomName, ptt, e2eeEnabled ?? false)
+ await createRoom(client, roomName, e2eeEnabled ?? false)
)[1];
if (e2eeEnabled) {
@@ -105,7 +102,7 @@ export function RegisteredView({ client, isPasswordlessUser }: Props) {
}
});
},
- [client, history, setJoinExistingCallModalOpen, callType, e2eeEnabled]
+ [client, history, setJoinExistingCallModalOpen, e2eeEnabled]
);
const recentRooms = useGroupCallRooms(client);
@@ -115,11 +112,6 @@ export function RegisteredView({ client, isPasswordlessUser }: Props) {
history.push(`/${existingAlias}`);
}, [history, existingAlias]);
- const callNameLabel =
- callType === CallType.Video
- ? t("Video call name")
- : t("Walkie-talkie call name");
-
return (
<>