diff --git a/server/src/lib/activity/activity.ts b/server/src/lib/activity/activity.ts index 036f86621..c78671ccb 100644 --- a/server/src/lib/activity/activity.ts +++ b/server/src/lib/activity/activity.ts @@ -29,6 +29,12 @@ export type ActivityConstraint = FilterQuery< * * Optionally, startFrom can be passed, which will start this activity search from that * point in time. + * + * @bug - With the way `startFrom` works, its possible to "skip over" sessions that have + * the **exact** same timestamp, but didn't fall into the previous limit. + * + * for an array of imagined timestamps with sessions=3, followed by startFrom=3 + * i.e. [1, 2, 3] 3, 3, 3 [4, 5, 6] */ export async function GetRecentActivity( // todo: is it possible to make this game agnostic?