mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 06:56:04 +02:00
Fix Join count
This commit is contained in:
@@ -1003,6 +1003,7 @@ speechSynthesis.getVoices();
|
|||||||
allowAvatarCopying: json.allowAvatarCopying,
|
allowAvatarCopying: json.allowAvatarCopying,
|
||||||
userIcon: json.userIcon,
|
userIcon: json.userIcon,
|
||||||
fallbackAvatar: json.fallbackAvatar,
|
fallbackAvatar: json.fallbackAvatar,
|
||||||
|
profilePicOverride: json.profilePicOverride,
|
||||||
isFriend: false,
|
isFriend: false,
|
||||||
location: $app.lastLocation.location
|
location: $app.lastLocation.location
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -787,7 +787,7 @@ class Database {
|
|||||||
userId
|
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;
|
return ref;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user