Tolgo cookie consent
parent
3e02a441c9
commit
558129fe40
|
|
@ -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'
|
||||||
|
|
|
||||||
|
|
@ -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'
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue