mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-26 19:36:08 +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