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 isFavorite = false;
|
||||
if ((ctx.type === 'OnPlayerJoined') ||
|
||||
(ctx.type === 'OnPlayerLeft') ||
|
||||
(ctx.type === 'PortalSpawn')) {
|
||||
for (var ref of API.cachedUsers.values()) {
|
||||
if (ref.displayName === ctx.data) {
|
||||
isFriend = this.friends.has(ref.id);
|
||||
@@ -3904,6 +3907,7 @@ speechSynthesis.getVoices();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if ((w < 20) && (wristFilter[ctx.type]) &&
|
||||
((wristFilter[ctx.type] === 'On') ||
|
||||
(wristFilter[ctx.type] === 'Everyone') ||
|
||||
|
||||
Reference in New Issue
Block a user