mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-21 15:53:50 +02:00
Fix game log VIP video play filter
This commit is contained in:
@@ -6091,6 +6091,14 @@ speechSynthesis.getVoices();
|
||||
|
||||
$app.methods.setNowPlaying = function (ctx) {
|
||||
if (this.nowPlaying.url !== ctx.videoUrl) {
|
||||
if (!ctx.userId && ctx.displayName) {
|
||||
for (var ref of API.cachedUsers.values()) {
|
||||
if (ref.displayName === ctx.displayName) {
|
||||
ctx.userId = ref.id;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
this.queueGameLogNoty(ctx);
|
||||
this.addGameLog(ctx);
|
||||
database.addGamelogVideoPlayToDatabase(ctx);
|
||||
|
||||
Reference in New Issue
Block a user