Rename ElementX to Element X. Only for user facing value. In the doc I prefer to keep ElementX.

This commit is contained in:
Benoit Marty
2023-06-27 16:37:17 +02:00
committed by Benoit Marty
parent 6174a36d66
commit f84b2ebbb0
4 changed files with 6 additions and 8 deletions

View File

@@ -116,7 +116,7 @@ class RustMatrixAuthenticationService @Inject constructor(
override suspend fun login(username: String, password: String): Result<SessionId> =
withContext(coroutineDispatchers.io) {
runCatching {
val client = authService.login(username, password, "ElementX Android", null)
val client = authService.login(username, password, "Element X Android", null)
val sessionData = client.use { it.session().toSessionData() }
sessionStore.storeData(sessionData)
SessionId(sessionData.userId)