mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-24 17:23:50 +02:00
Fix Join count
This commit is contained in:
@@ -1003,6 +1003,7 @@ speechSynthesis.getVoices();
|
||||
allowAvatarCopying: json.allowAvatarCopying,
|
||||
userIcon: json.userIcon,
|
||||
fallbackAvatar: json.fallbackAvatar,
|
||||
profilePicOverride: json.profilePicOverride,
|
||||
isFriend: false,
|
||||
location: $app.lastLocation.location
|
||||
});
|
||||
|
||||
@@ -787,7 +787,7 @@ class Database {
|
||||
userId
|
||||
};
|
||||
}
|
||||
}, `SELECT COUNT(*) FROM gamelog_join_leave WHERE user_id = '${userId}' OR display_name = '${displayName}'`);
|
||||
}, `SELECT COUNT(*) FROM gamelog_join_leave WHERE (type = 'OnPlayerJoined') AND (user_id = '${userId}' OR display_name = '${displayName}')`);
|
||||
return ref;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user