Set InitialDeviceName to "ElementX Android"

This commit is contained in:
ganfra 2022-11-22 17:47:09 +01:00
parent fa021fb438
commit 5daa19cc6f

View file

@ -95,7 +95,7 @@ class Matrix(
suspend fun login(username: String, password: String): MatrixClient =
withContext(coroutineDispatchers.io) {
val client = try {
authService.login(username, password, "ElementX", null)
authService.login(username, password, "ElementX Android", null)
} catch (failure: Throwable) {
Timber.e(failure, "Fail login")
throw failure