Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2023-08-09 14:01:19 +02:00
parent 819734e2dd
commit 6a3c02f7f7
No known key found for this signature in database
GPG Key ID: D1D45825D60C24D2
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ export const InviteModal: FC<Props> = ({ roomAlias, roomId, ...rest }) => {
<p>{t("Copy and share this call link")}</p> <p>{t("Copy and share this call link")}</p>
<CopyButton <CopyButton
className={styles.copyButton} className={styles.copyButton}
value={getRoomUrl(roomAlias ?? roomId, roomSharedKey)} value={getRoomUrl(roomAlias ?? roomId, roomSharedKey ?? undefined)}
data-testid="modal_inviteLink" data-testid="modal_inviteLink"
/> />
</ModalContent> </ModalContent>

View File

@ -84,7 +84,7 @@ export const LobbyView: FC<Props> = ({
variant="secondaryCopy" variant="secondaryCopy"
value={getRoomUrl( value={getRoomUrl(
matrixInfo.roomAlias ?? matrixInfo.roomId, matrixInfo.roomAlias ?? matrixInfo.roomId,
roomSharedKey roomSharedKey ?? undefined
)} )}
className={styles.copyButton} className={styles.copyButton}
copiedMessage={t("Call link copied")} copiedMessage={t("Call link copied")}