Fix warning "This expression will be resolved to Int in future releases. Please add explicit conversion call"

This commit is contained in:
Benoit Marty 2021-09-27 15:55:58 +02:00
parent a40cee337e
commit 906da76727
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ class PreviewUrlRetriever(session: Session,
companion object {
// One week in millis
private const val CACHE_VALIDITY: Long = 7 * 24 * 3_600 * 1_000
private const val CACHE_VALIDITY = 604_800_000L // 7 * 24 * 3_600 * 1_000
private val blockedDomains = listOf(
"https://matrix.to",