buddy_matching
buddy_matching copied to clipboard
fetch_last_solo_match/2 not guaranteed to return match from current season
Queries for last solo queue match seem to be able to return games from last season, causing us to show potentially wrong results for border. This occurs in fetch_last_solo_match/2 in riot.api.ex, and is a somewhat special case bug.
This is currently only a problem for us early in a season, as we require players to have a match history from which we can deduce their last played champions and/or their border. If they have a match history, and their last solo queue game was from the last season, we will get a rank indication from 2 seasons ago.
Potential fixes:
- Query API for season specific match
...