mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-14 04:13:52 +02:00
remove unnecessary condition
This commit is contained in:
@@ -1814,7 +1814,7 @@ CefSharp.BindObjectAsync(
|
||||
API.parseInviteLocation = function (ref) {
|
||||
try {
|
||||
var L = API.parseLocation(ref.details.worldId);
|
||||
if (L.worldId !== '' && L.instanceId !== '') {
|
||||
if (L.worldId && L.instanceId) {
|
||||
return `${ref.details.worldName} #${L.instanceName} ${L.accessType}`;
|
||||
}
|
||||
return ref.message ||
|
||||
|
||||
Reference in New Issue
Block a user