mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 06:56:04 +02:00
Short name URLs gone for publics
This commit is contained in:
+5
-2
@@ -15066,7 +15066,10 @@ speechSynthesis.getVoices();
|
|||||||
});
|
});
|
||||||
|
|
||||||
API.$on('INSTANCE:SHORTNAME', function (args) {
|
API.$on('INSTANCE:SHORTNAME', function (args) {
|
||||||
var url = `https://vrch.at/${args.json}`;
|
var url = '';
|
||||||
|
if (args.json) {
|
||||||
|
url = `https://vrch.at/${args.json}`;
|
||||||
|
}
|
||||||
$app.launchDialog.shortUrl = url;
|
$app.launchDialog.shortUrl = url;
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -15085,7 +15088,7 @@ speechSynthesis.getVoices();
|
|||||||
D.shortUrl = '';
|
D.shortUrl = '';
|
||||||
D.url = getLaunchURL(L.worldId, L.instanceId);
|
D.url = getLaunchURL(L.worldId, L.instanceId);
|
||||||
D.visible = true;
|
D.visible = true;
|
||||||
if (L.accessType === 'public' || L.userId === API.currentUser.id) {
|
if (L.userId === API.currentUser.id) {
|
||||||
API.getInstanceShortName({
|
API.getInstanceShortName({
|
||||||
worldId: L.worldId,
|
worldId: L.worldId,
|
||||||
instanceId: L.instanceId
|
instanceId: L.instanceId
|
||||||
|
|||||||
Reference in New Issue
Block a user