mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 20:01:55 +00:00
RoomListService: enable encryption
This commit is contained in:
+2
-2
@@ -81,8 +81,7 @@ class RustMatrixClient constructor(
|
|||||||
) : MatrixClient {
|
) : MatrixClient {
|
||||||
|
|
||||||
override val sessionId: UserId = UserId(client.userId())
|
override val sessionId: UserId = UserId(client.userId())
|
||||||
|
private val roomListService = client.roomListServiceWithEncryption()
|
||||||
private val roomListService = client.roomListService()
|
|
||||||
private val sessionCoroutineScope = appCoroutineScope.childScope(dispatchers.main, "Session-${sessionId}")
|
private val sessionCoroutineScope = appCoroutineScope.childScope(dispatchers.main, "Session-${sessionId}")
|
||||||
private val verificationService = RustSessionVerificationService()
|
private val verificationService = RustSessionVerificationService()
|
||||||
private val syncService = RustSyncService(roomListService, sessionCoroutineScope)
|
private val syncService = RustSyncService(roomListService, sessionCoroutineScope)
|
||||||
@@ -92,6 +91,7 @@ class RustMatrixClient constructor(
|
|||||||
)
|
)
|
||||||
private val notificationService = RustNotificationService(client)
|
private val notificationService = RustNotificationService(client)
|
||||||
|
|
||||||
|
|
||||||
private val clientDelegate = object : ClientDelegate {
|
private val clientDelegate = object : ClientDelegate {
|
||||||
override fun didReceiveAuthError(isSoftLogout: Boolean) {
|
override fun didReceiveAuthError(isSoftLogout: Boolean) {
|
||||||
//TODO handle this
|
//TODO handle this
|
||||||
|
|||||||
Reference in New Issue
Block a user