Fix compilation warning (due to Kotlin 1.4)
This commit is contained in:
parent
1a0dba7422
commit
e708b0f01b
@ -105,6 +105,6 @@ private fun Versions.doesServerSeparatesAddAndBind(): Boolean {
|
||||
private fun Versions.getMaxVersion(): HomeServerVersion {
|
||||
return supportedVersions
|
||||
?.mapNotNull { HomeServerVersion.parse(it) }
|
||||
?.max()
|
||||
?.maxOrNull()
|
||||
?: HomeServerVersion.r0_0_0
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user