mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 06:43:51 +02:00
Improve 'Previous Instances' grouping behavior (#1305)
* Group user's previous instances by location AND calendar dates for better clarity * date grouping in local timezone instead of UTC * prevent zero-time records due to OnPlayerJoined and OnPlayerLeft happening on different calendar days * fix deleteGameLogUserInstance behavior to be consistent with new history grouping * change 'previous instances' algorithm group multiple events together into single session record, even if rejoins occur within 1 hour on the same instance delete button also deletes all related gamelog_join_leave events correctly by their id * replace questionable condition with proper one
This commit is contained in:
@@ -165,7 +165,8 @@
|
||||
database.deleteGameLogInstance({
|
||||
id: props.previousInstancesUserDialog.userRef.id,
|
||||
displayName: props.previousInstancesUserDialog.userRef.displayName,
|
||||
location: row.location
|
||||
location: row.location,
|
||||
events: row.events
|
||||
});
|
||||
removeFromArray(previousInstancesUserDialogTable.data, row);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user