mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-11-10 11:57:29 +01:00
Limits the amount of zaps on the user profile
This commit is contained in:
@@ -55,5 +55,7 @@ object TimeUtils {
|
||||
|
||||
fun oneWeekAgo() = now() - ONE_WEEK
|
||||
|
||||
fun oneMonthAgo() = now() - ONE_MONTH
|
||||
|
||||
fun randomWithTwoDays() = System.currentTimeMillis() / 1000 - CryptoUtils.randomInt(twoDays())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user