mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-28 05:59:05 +03:00
Merge pull request #4050 from vector-im/dependabot/gradle/kotlin-1.5.31
Bump kotlin from 1.5.30 to 1.5.31
This commit is contained in:
commit
0033378f8b
3 changed files with 4 additions and 4 deletions
|
@ -9,8 +9,8 @@ ext.versions = [
|
|||
|
||||
def gradle = "7.0.2"
|
||||
// Ref: https://kotlinlang.org/releases.html
|
||||
def kotlin = "1.5.30"
|
||||
def kotlinCoroutines = "1.5.1"
|
||||
def kotlin = "1.5.31"
|
||||
def kotlinCoroutines = "1.5.2"
|
||||
def dagger = "2.38.1"
|
||||
def retrofit = "2.9.0"
|
||||
def arrow = "0.8.2"
|
||||
|
|
|
@ -39,7 +39,7 @@ sealed class InitialSyncStrategy {
|
|||
* Limit to reach to decide to split the init sync response into smaller files
|
||||
* Empiric value: 1 megabytes
|
||||
*/
|
||||
val minSizeToSplit: Long = 1024 * 1024,
|
||||
val minSizeToSplit: Long = 1_048_576, // 1024 * 1024
|
||||
/**
|
||||
* Limit per room to reach to decide to store a join room ephemeral Events into a file
|
||||
* Empiric value: 1 kilobytes
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue