forked from GitHub-Mirror/riotX-android
Search firstIndexOf, because server url can contains port (This is what JS does, but Riot Android is also bugged)
This commit is contained in:
parent
bb04af1e2c
commit
357123743f
@ -149,7 +149,7 @@ object MatrixPatterns {
|
||||
return null
|
||||
}
|
||||
|
||||
val index = matrixId.lastIndexOf(":")
|
||||
val index = matrixId.indexOf(":")
|
||||
|
||||
return if (index == -1) {
|
||||
null
|
||||
|
Loading…
Reference in New Issue
Block a user