Skip to content

Commit

Permalink
Merge pull request #448 from vector-im/dbkr/country_roads
Browse files Browse the repository at this point in the history
Remove the 'Take Me Home' link in embed mode
  • Loading branch information
dbkr authored Jul 6, 2022
2 parents 16d4ffb + 655058a commit c6030d3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
1 change: 1 addition & 0 deletions src/room/GroupCallView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ export function GroupCallView({
toggleLocalVideoMuted={toggleLocalVideoMuted}
toggleMicrophoneMuted={toggleMicrophoneMuted}
roomId={roomId}
isEmbedded={isEmbedded}
/>
);
}
Expand Down
13 changes: 8 additions & 5 deletions src/room/LobbyView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export function LobbyView({
toggleLocalVideoMuted,
toggleMicrophoneMuted,
roomId,
isEmbedded,
}) {
const { stream } = useCallFeed(localCallFeed);
const {
Expand Down Expand Up @@ -122,11 +123,13 @@ export function LobbyView({
Copy call link and join later
</CopyButton>
</div>
<Body className={styles.joinRoomFooter}>
<Link color="primary" to="/">
Take me Home
</Link>
</Body>
{!isEmbedded && (
<Body className={styles.joinRoomFooter}>
<Link color="primary" to="/">
Take me Home
</Link>
</Body>
)}
</div>
</div>
);
Expand Down

0 comments on commit c6030d3

Please sign in to comment.