Remove unreachable duplicate condition

deepcrayonfish^2
Benedikt Werner 2021-12-04 04:36:09 +01:00
parent 1503257f91
commit b24229ac36
No known key found for this signature in database
GPG Key ID: 1DBFF0F8E9E121EB
1 changed files with 0 additions and 1 deletions

View File

@ -62,7 +62,6 @@ final private class StudyInvite(
else if (inviter.roles has "ROLE_COACH") 20
else if (inviter.hasTitle) 20
else if (inviter.perfs.bestRating >= 2000) 50
else if (invited.hasTitle) 200
else 100
_ <- shouldNotify ?? notifyRateLimit(inviter.id, rateLimitCost) {
val notificationContent = InvitedToStudy(