Removing useless ternary

This commit is contained in:
David Négrier 2021-07-15 17:12:54 +02:00
parent f217fc8aad
commit d0d191fc28

View File

@ -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) {