Compare commits
9 Commits
build_syst
...
auto_join
| Author | SHA1 | Date |
|---|---|---|
|
|
d878a809d1 | |
|
|
59ba0499cd | |
|
|
8f87b1a3c1 | |
|
|
e03ab517e0 | |
|
|
bb02cee8ff | |
|
|
700f48b15c | |
|
|
9f8bc7896c | |
|
|
aeea4c76bf | |
|
|
f8d0a45dcc |
|
|
@ -240,7 +240,7 @@ const ChooseRoom = ({
|
|||
</Button>
|
||||
</DialogActions>
|
||||
|
||||
{ !isElectron() &&
|
||||
{ !isElectron() && false &&
|
||||
<CookieConsent buttonText={intl.formatMessage({
|
||||
id : 'room.consentUnderstand',
|
||||
defaultMessage : 'I understand'
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ const styles = (theme) =>
|
|||
},
|
||||
divider :
|
||||
{
|
||||
marginLeft : theme.spacing(3),
|
||||
marginLeft : theme.spacing(3)
|
||||
},
|
||||
show :
|
||||
{
|
||||
|
|
@ -345,7 +345,7 @@ const TopBar = (props) =>
|
|||
className={classes.actionButton}
|
||||
variant='contained'
|
||||
color='secondary'
|
||||
onClick={() => roomClient.close()}
|
||||
onClick={() => { roomClient.close(); window.close(); }}
|
||||
>
|
||||
<FormattedMessage
|
||||
id='label.leave'
|
||||
|
|
|
|||
|
|
@ -177,27 +177,11 @@ const JoinDialog = ({
|
|||
{
|
||||
const intl = useIntl();
|
||||
|
||||
const handleKeyDown = (event) =>
|
||||
{
|
||||
const { key } = event;
|
||||
roomClient.join({ roomId, joinVideo: true });
|
||||
|
||||
switch (key)
|
||||
{
|
||||
case 'Enter':
|
||||
case 'Escape':
|
||||
{
|
||||
if (displayName === '')
|
||||
changeDisplayName('Guest');
|
||||
if (room.inLobby)
|
||||
roomClient.changeDisplayName(displayName);
|
||||
break;
|
||||
}
|
||||
default:
|
||||
break;
|
||||
}
|
||||
};
|
||||
return (<div />);
|
||||
|
||||
return (
|
||||
/* return (
|
||||
<div className={classes.root}>
|
||||
<Dialog
|
||||
open
|
||||
|
|
@ -335,7 +319,7 @@ const JoinDialog = ({
|
|||
</DialogContent>
|
||||
}
|
||||
|
||||
{ !isElectron() &&
|
||||
{ !isElectron() && false &&
|
||||
<CookieConsent buttonText={intl.formatMessage({
|
||||
id : 'room.consentUnderstand',
|
||||
defaultMessage : 'I understand'
|
||||
|
|
@ -348,7 +332,7 @@ const JoinDialog = ({
|
|||
}
|
||||
</Dialog>
|
||||
</div>
|
||||
);
|
||||
);*/
|
||||
};
|
||||
|
||||
JoinDialog.propTypes =
|
||||
|
|
|
|||
|
|
@ -153,17 +153,17 @@ class Room extends React.PureComponent
|
|||
|
||||
return (
|
||||
<div className={classes.root}>
|
||||
{ !isElectron() &&
|
||||
{ !isElectron() && false &&
|
||||
<CookieConsent
|
||||
buttonText={
|
||||
<FormattedMessage
|
||||
id = 'room.consentUnderstand'
|
||||
defaultMessage = 'I understand'
|
||||
id='room.consentUnderstand'
|
||||
defaultMessage='I understand'
|
||||
/>
|
||||
}
|
||||
>
|
||||
<FormattedMessage
|
||||
id = 'room.cookieConsent'
|
||||
id='room.cookieConsent'
|
||||
defaultMessage='This website uses cookies to enhance the user experience'
|
||||
/>
|
||||
</CookieConsent>
|
||||
|
|
|
|||
Loading…
Reference in New Issue