mirror of
https://github.com/element-hq/element-android
synced 2024-11-28 05:31:21 +03:00
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
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ object MatrixPatterns {
|
|||
return null
|
||||
}
|
||||
|
||||
val index = matrixId.lastIndexOf(":")
|
||||
val index = matrixId.indexOf(":")
|
||||
|
||||
return if (index == -1) {
|
||||
null
|
||||
|
|
Loading…
Reference in a new issue