Invite parse region

This commit is contained in:
Natsumi
2021-06-30 02:07:39 +12:00
parent 117fbf84b9
commit a18a9ab53a
2 changed files with 1 additions and 15 deletions

View File

@@ -2455,20 +2455,6 @@ speechSynthesis.getVoices();
return '';
};
API.parseInviteLocation = function (ref) {
try {
var L = API.parseLocation(ref.details.worldId);
if (L.worldId && L.instanceId) {
return `${ref.details.worldName} #${L.instanceName} ${L.accessType}`;
}
return ref.message ||
ref.details.worldId ||
ref.details.worldName;
} catch (err) {
return '';
}
};
// API: PlayerModeration
API.cachedPlayerModerations = new Map();