Limits the amount of zaps on the user profile

This commit is contained in:
Vitor Pamplona
2024-06-20 16:30:12 -04:00
parent 9e9e0667cd
commit b39ac214a5
2 changed files with 4 additions and 2 deletions

View File

@@ -55,5 +55,7 @@ object TimeUtils {
fun oneWeekAgo() = now() - ONE_WEEK
fun oneMonthAgo() = now() - ONE_MONTH
fun randomWithTwoDays() = System.currentTimeMillis() / 1000 - CryptoUtils.randomInt(twoDays())
}