mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-18 20:29:10 +03:00
Fix #4919
This commit is contained in:
parent
f8afe04a3b
commit
18359fedb3
2 changed files with 2 additions and 1 deletions
1
changelog.d/4935.bugfix
Normal file
1
changelog.d/4935.bugfix
Normal file
|
@ -0,0 +1 @@
|
|||
Fix a wrong network error issue in the Legals screen
|
|
@ -64,7 +64,7 @@ internal class DefaultTermsService @Inject constructor(
|
|||
*/
|
||||
override suspend fun getHomeserverTerms(baseUrl: String): TermsResponse {
|
||||
return try {
|
||||
val request = baseUrl + NetworkConstants.URI_API_PREFIX_PATH_R0 + "register"
|
||||
val request = baseUrl.ensureTrailingSlash() + NetworkConstants.URI_API_PREFIX_PATH_R0 + "register"
|
||||
executeRequest(null) {
|
||||
termsAPI.register(request)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue