Fixes the issue with the wrong value of the invite dialog.(reported by Timmi)
This commit is contained in:
parent
c7a5f5cb9b
commit
2f8efe7a6a
5
app.js
5
app.js
|
@ -190,10 +190,11 @@ function doJoin() {
|
|||
if (path.length > 1) {
|
||||
roomnode = path.substr(1).toLowerCase();
|
||||
} else {
|
||||
roomnode = RoomNameGenerator.generateRoomWithoutSeparator(3);
|
||||
var word = RoomNameGenerator.generateRoomWithoutSeparator(3);
|
||||
roomnode = word.toLowerCase();
|
||||
|
||||
window.history.pushState('VideoChat',
|
||||
'Room: ' + roomnode, window.location.pathname + roomnode);
|
||||
'Room: ' + word, window.location.pathname + word);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue