Skip to content

Commit c6030d3

Browse files
authored
Merge pull request #448 from vector-im/dbkr/country_roads
Remove the 'Take Me Home' link in embed mode
2 parents 16d4ffb + 655058a commit c6030d3

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

src/room/GroupCallView.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ export function GroupCallView({
144144
toggleLocalVideoMuted={toggleLocalVideoMuted}
145145
toggleMicrophoneMuted={toggleMicrophoneMuted}
146146
roomId={roomId}
147+
isEmbedded={isEmbedded}
147148
/>
148149
);
149150
}

src/room/LobbyView.jsx

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ export function LobbyView({
4242
toggleLocalVideoMuted,
4343
toggleMicrophoneMuted,
4444
roomId,
45+
isEmbedded,
4546
}) {
4647
const { stream } = useCallFeed(localCallFeed);
4748
const {
@@ -122,11 +123,13 @@ export function LobbyView({
122123
Copy call link and join later
123124
</CopyButton>
124125
</div>
125-
<Body className={styles.joinRoomFooter}>
126-
<Link color="primary" to="/">
127-
Take me Home
128-
</Link>
129-
</Body>
126+
{!isEmbedded && (
127+
<Body className={styles.joinRoomFooter}>
128+
<Link color="primary" to="/">
129+
Take me Home
130+
</Link>
131+
</Body>
132+
)}
130133
</div>
131134
</div>
132135
);

0 commit comments

Comments
 (0)