Search firstIndexOf, because server url can contains port (This is what JS does, but Riot Android is also bugged)

This commit is contained in:
Benoit Marty 2019-08-05 17:59:33 +02:00
parent bb04af1e2c
commit 357123743f

View file

@ -149,7 +149,7 @@ object MatrixPatterns {
return null
}
val index = matrixId.lastIndexOf(":")
val index = matrixId.indexOf(":")
return if (index == -1) {
null