mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-18 14:23:51 +02:00
Hide group member only instances from Discord presence
This commit is contained in:
@@ -5235,7 +5235,9 @@ speechSynthesis.getVoices();
|
||||
|
||||
case 'instance-queue-left':
|
||||
console.log('instance-queue-left', content);
|
||||
$app.instanceQueueClear();
|
||||
var instanceId = content.instanceLocation;
|
||||
$app.removeQueuedInstance(instanceId);
|
||||
// $app.instanceQueueClear();
|
||||
break;
|
||||
|
||||
case 'content-refresh':
|
||||
@@ -13732,10 +13734,11 @@ speechSynthesis.getVoices();
|
||||
this.lastLocation$ = L;
|
||||
}
|
||||
var hidePrivate = false;
|
||||
// (L.accessType === 'group' && !L.groupAccessType) || L.groupAccessType === 'member')
|
||||
if (
|
||||
this.discordHideInvite &&
|
||||
(L.accessType === 'invite' || L.accessType === 'invite+')
|
||||
(L.accessType === 'invite' ||
|
||||
L.accessType === 'invite+' ||
|
||||
L.groupAccessType === 'members')
|
||||
) {
|
||||
hidePrivate = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user