mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 14:56:06 +02:00
Add gamelog item type friend check
This commit is contained in:
@@ -3897,6 +3897,9 @@ speechSynthesis.getVoices();
|
|||||||
}
|
}
|
||||||
var isFriend = false;
|
var isFriend = false;
|
||||||
var isFavorite = false;
|
var isFavorite = false;
|
||||||
|
if ((ctx.type === 'OnPlayerJoined') ||
|
||||||
|
(ctx.type === 'OnPlayerLeft') ||
|
||||||
|
(ctx.type === 'PortalSpawn')) {
|
||||||
for (var ref of API.cachedUsers.values()) {
|
for (var ref of API.cachedUsers.values()) {
|
||||||
if (ref.displayName === ctx.data) {
|
if (ref.displayName === ctx.data) {
|
||||||
isFriend = this.friends.has(ref.id);
|
isFriend = this.friends.has(ref.id);
|
||||||
@@ -3904,6 +3907,7 @@ speechSynthesis.getVoices();
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if ((w < 20) && (wristFilter[ctx.type]) &&
|
if ((w < 20) && (wristFilter[ctx.type]) &&
|
||||||
((wristFilter[ctx.type] === 'On') ||
|
((wristFilter[ctx.type] === 'On') ||
|
||||||
(wristFilter[ctx.type] === 'Everyone') ||
|
(wristFilter[ctx.type] === 'Everyone') ||
|
||||||
|
|||||||
Reference in New Issue
Block a user