mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
Set InitialDeviceName to "ElementX Android"
This commit is contained in:
@@ -95,7 +95,7 @@ class Matrix(
|
|||||||
suspend fun login(username: String, password: String): MatrixClient =
|
suspend fun login(username: String, password: String): MatrixClient =
|
||||||
withContext(coroutineDispatchers.io) {
|
withContext(coroutineDispatchers.io) {
|
||||||
val client = try {
|
val client = try {
|
||||||
authService.login(username, password, "ElementX", null)
|
authService.login(username, password, "ElementX Android", null)
|
||||||
} catch (failure: Throwable) {
|
} catch (failure: Throwable) {
|
||||||
Timber.e(failure, "Fail login")
|
Timber.e(failure, "Fail login")
|
||||||
throw failure
|
throw failure
|
||||||
|
|||||||
Reference in New Issue
Block a user