Removing useless ternary
This commit is contained in:
parent
f217fc8aad
commit
d0d191fc28
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ export class RoomConnection implements RoomConnection {
|
|||
url += "/";
|
||||
}
|
||||
url += "room";
|
||||
url += "?roomId=" + (roomUrl ? encodeURIComponent(roomUrl) : "");
|
||||
url += "?roomId=" + encodeURIComponent(roomUrl);
|
||||
url += "&token=" + (token ? encodeURIComponent(token) : "");
|
||||
url += "&name=" + encodeURIComponent(name);
|
||||
for (const layer of characterLayers) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue