mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-18 22:33:50 +02:00
traveling
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user