diff --git a/src/components/views/dialogs/CreateRoomDialog.tsx b/src/components/views/dialogs/CreateRoomDialog.tsx index 7d1028bba79..8425a7269cc 100644 --- a/src/components/views/dialogs/CreateRoomDialog.tsx +++ b/src/components/views/dialogs/CreateRoomDialog.tsx @@ -222,7 +222,7 @@ export default class CreateRoomDialog extends React.Component { render() { const isVideoRoom = this.props.type === RoomType.ElementVideo; - let aliasField; + let aliasField: JSX.Element; if (this.state.joinRule === JoinRule.Public) { const domain = MatrixClientPeg.get().getDomain(); aliasField = ( @@ -274,12 +274,14 @@ export default class CreateRoomDialog extends React.Component {

; } - let e2eeSection; + let e2eeSection: JSX.Element; if (this.state.joinRule !== JoinRule.Public) { - let microcopy; + let microcopy: string; if (privateShouldBeEncrypted()) { if (this.state.canChangeEncryption) { - microcopy = _t("You can't disable this later. Bridges & most bots won't work yet."); + microcopy = isVideoRoom + ? _t("You can't disable this later. The room will be encrypted but the embedded call will not.") + : _t("You can't disable this later. Bridges & most bots won't work yet."); } else { microcopy = _t("Your server requires encryption to be enabled in private rooms."); } @@ -312,7 +314,7 @@ export default class CreateRoomDialog extends React.Component { ); } - let title; + let title: string; if (isVideoRoom) { title = _t("Create a video room"); } else if (this.props.parentSpace) { diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index 906d2358d1b..444c871a2b6 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -2445,6 +2445,7 @@ "Anyone will be able to find and join this room, not just members of .": "Anyone will be able to find and join this room, not just members of .", "Anyone will be able to find and join this room.": "Anyone will be able to find and join this room.", "Only people invited will be able to find and join this room.": "Only people invited will be able to find and join this room.", + "You can't disable this later. The room will be encrypted but the embedded call will not.": "You can't disable this later. The room will be encrypted but the embedded call will not.", "You can't disable this later. Bridges & most bots won't work yet.": "You can't disable this later. Bridges & most bots won't work yet.", "Your server requires encryption to be enabled in private rooms.": "Your server requires encryption to be enabled in private rooms.", "Enable end-to-end encryption": "Enable end-to-end encryption",