mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
Let MatrixClient exposes val instead of fun for the services.
This commit is contained in:
committed by
Benoit Marty
parent
68700d9bf9
commit
77647a3f11
+2
-2
@@ -176,8 +176,8 @@ class DefaultBugReporter(
|
||||
.addFormDataPart("branch_name", buildMeta.gitBranchName)
|
||||
userId?.let {
|
||||
matrixClientProvider.getOrNull(it)?.let { client ->
|
||||
val curveKey = client.encryptionService().deviceCurve25519()
|
||||
val edKey = client.encryptionService().deviceEd25519()
|
||||
val curveKey = client.encryptionService.deviceCurve25519()
|
||||
val edKey = client.encryptionService.deviceEd25519()
|
||||
if (curveKey != null && edKey != null) {
|
||||
builder.addFormDataPart("device_keys", "curve25519:$curveKey, ed25519:$edKey")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user