traveling

This commit is contained in:
Natsumi
2022-06-13 02:26:54 +12:00
parent 36ff14b0e8
commit 21e59264a4

View File

@@ -677,6 +677,7 @@ speechSynthesis.getVoices();
tag: _tag,
isOffline: false,
isPrivate: false,
isTraveling: false,
worldId: '',
instanceId: '',
instanceName: '',
@@ -693,6 +694,8 @@ speechSynthesis.getVoices();
ctx.isOffline = true;
} else if (_tag === 'private') {
ctx.isPrivate = true;
} else if (_tag === 'traveling') {
ctx.isTraveling = true;
} else if (_tag.startsWith('local') === false) {
var sep = _tag.indexOf(':');
if (sep >= 0) {
@@ -843,6 +846,8 @@ speechSynthesis.getVoices();
this.text = 'Offline';
} else if (L.isPrivate) {
this.text = 'Private';
} else if (L.isTraveling) {
this.text = 'Traveling';
} else if (typeof this.hint === 'string' && this.hint !== '') {
if (L.instanceId) {
this.text = `${this.hint} #${L.instanceName} ${L.accessType}`;
@@ -5716,6 +5721,8 @@ speechSynthesis.getVoices();
text = 'Offline';
} else if (L.isPrivate) {
text = 'Private';
} else if (L.isTraveling) {
text = 'Traveling';
} else if (L.worldId) {
if (L.instanceId) {
text = `${worldName} ${L.accessType}`;
@@ -6733,7 +6740,8 @@ speechSynthesis.getVoices();
typeof ref !== 'undefined' &&
ref.location !== '' &&
ref.location !== 'offline' &&
ref.location !== 'private'
ref.location !== 'private' &&
ref.location !== 'traveling'
) {
API.getUser({
userId: id
@@ -15489,7 +15497,8 @@ speechSynthesis.getVoices();
if (
location === '' ||
location === 'offline' ||
location === 'private'
location === 'private' ||
location === 'traveling'
) {
return false;
}