mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 06:43:51 +02:00
Short name URLs gone for publics
This commit is contained in:
@@ -15066,7 +15066,10 @@ speechSynthesis.getVoices();
|
||||
});
|
||||
|
||||
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;
|
||||
});
|
||||
|
||||
@@ -15085,7 +15088,7 @@ speechSynthesis.getVoices();
|
||||
D.shortUrl = '';
|
||||
D.url = getLaunchURL(L.worldId, L.instanceId);
|
||||
D.visible = true;
|
||||
if (L.accessType === 'public' || L.userId === API.currentUser.id) {
|
||||
if (L.userId === API.currentUser.id) {
|
||||
API.getInstanceShortName({
|
||||
worldId: L.worldId,
|
||||
instanceId: L.instanceId
|
||||
|
||||
Reference in New Issue
Block a user