Tolgo cookie consent

auto_join_3.3
Pietro Brenna 2020-05-13 13:02:27 +02:00
parent 3e02a441c9
commit 558129fe40
3 changed files with 6 additions and 24 deletions

View File

@ -174,7 +174,7 @@ const ChooseRoom = ({
</Button> </Button>
</DialogActions> </DialogActions>
{ !isElectron() && { !isElectron() && false &&
<CookieConsent buttonText={intl.formatMessage({ <CookieConsent buttonText={intl.formatMessage({
id : 'room.consentUnderstand', id : 'room.consentUnderstand',
defaultMessage : 'I understand' defaultMessage : 'I understand'

View File

@ -192,29 +192,11 @@ const JoinDialog = ({
{ {
const intl = useIntl(); const intl = useIntl();
const handleKeyDown = (event) =>
{
const { key } = event;
switch (key)
{
case 'Enter':
case 'Escape':
{
if (displayName === '')
changeDisplayName('Guest');
if (room.inLobby)
roomClient.changeDisplayName(displayName);
break;
}
default:
break;
}
};
roomClient.join({ roomId, joinVideo: true }); roomClient.join({ roomId, joinVideo: true });
return ( <div></div>);
/*return ( return (<div />);
/* return (
<div className={classes.root}> <div className={classes.root}>
<Dialog <Dialog
open open
@ -372,7 +354,7 @@ const JoinDialog = ({
</DialogContent> </DialogContent>
} }
{ !isElectron() && { !isElectron() && false &&
<CookieConsent buttonText={intl.formatMessage({ <CookieConsent buttonText={intl.formatMessage({
id : 'room.consentUnderstand', id : 'room.consentUnderstand',
defaultMessage : 'I understand' defaultMessage : 'I understand'

View File

@ -186,7 +186,7 @@ class Room extends React.PureComponent
return ( return (
<div className={classes.root}> <div className={classes.root}>
{ !isElectron() && { !isElectron() && false &&
<CookieConsent <CookieConsent
buttonText={ buttonText={
<FormattedMessage <FormattedMessage