Merge branch 'fix-roomId-inserting' into develop

This commit is contained in:
Roman Drozd 2020-10-26 18:35:25 +01:00
commit a4b79ffc84

View file

@ -164,7 +164,7 @@ const JoinDialog = ({
const [ authType, setAuthType ] = useState('guest');
const [ roomId, setRoomId ] = useState(
encodeURIComponent(location.pathname.slice(1)) ||
decodeURIComponent(location.pathname.slice(1)) ||
randomString({ length: 8 }).toLowerCase()
);
@ -281,7 +281,7 @@ const JoinDialog = ({
id : 'label.roomName',
defaultMessage : 'Room name'
})}
value={decodeURIComponent(roomId)}
value={roomId}
variant='outlined'
margin='normal'
InputProps={{