Skip to content

Commit

Permalink
adjust time filter
Browse files Browse the repository at this point in the history
  • Loading branch information
th0mk committed Mar 25, 2024
1 parent 18f665e commit dd70254
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/FMBot.Bot/Services/TimeService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ public async Task<(ICollection<UserPlay> enrichedPlays, TimeSpan totalPlayTime)>

var userPlayList = new UserPlayList
{
UserPlays = { repeatedField }
UserPlays = { repeatedField },
AdjustForBans = true
};

var reply = await this._timeEnrichment.ProcessUserPlaysAsync(userPlayList);
Expand Down
1 change: 1 addition & 0 deletions src/Shared.Protos/time.proto
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ service TimeEnrichment {

message UserPlayList {
repeated SimpleUserPlay userPlays = 1;
bool adjustForBans = 2;
}

message SimpleUserPlay {
Expand Down

0 comments on commit dd70254

Please sign in to comment.