Age matching fix
This commit is contained in:
parent
e3dd2ffe99
commit
e9e1e8ef63
|
@ -3,9 +3,11 @@
|
|||
## Canary
|
||||
* Fixed a caching issue that caused cache misses on character page metadata
|
||||
* Fixed rate limit issues that sometimes disconnected characters when multiple characters were connected
|
||||
* Fixed a bug in age matching
|
||||
* URL preview fixes for Redgifs, Gelbooru, Tumblr, and Gifmixxx
|
||||
* All dependencies are now up to date
|
||||
* F-Chat Rising now flushes character profiles out of its cache after 30 days
|
||||
* Age difference for 'older' and 'younger' character kinks is now 8 years
|
||||
|
||||
|
||||
## 1.0.1
|
||||
|
|
|
@ -664,10 +664,10 @@ export class Matcher {
|
|||
const youngerCharactersScore = Matcher.getKinkPreference(you, Kink.YoungerCharacters);
|
||||
const ageDifference = Math.abs(yourAge - theirAge);
|
||||
|
||||
if ((yourAge < theirAge) && (olderCharactersScore !== null) && (ageDifference >= 4))
|
||||
if ((yourAge < theirAge) && (olderCharactersScore !== null) && (ageDifference >= 8))
|
||||
return Matcher.formatKinkScore(olderCharactersScore, 'older characters');
|
||||
|
||||
if ((yourAge > theirAge) && (youngerCharactersScore !== null) && (ageDifference <= 4))
|
||||
if ((yourAge > theirAge) && (youngerCharactersScore !== null) && (ageDifference >= 8))
|
||||
return Matcher.formatKinkScore(youngerCharactersScore, 'younger characters');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue