RoomListService: enable encryption
This commit is contained in:
parent
f25314f7f7
commit
0631830059
1 changed files with 2 additions and 2 deletions
|
|
@ -81,8 +81,7 @@ class RustMatrixClient constructor(
|
|||
) : MatrixClient {
|
||||
|
||||
override val sessionId: UserId = UserId(client.userId())
|
||||
|
||||
private val roomListService = client.roomListService()
|
||||
private val roomListService = client.roomListServiceWithEncryption()
|
||||
private val sessionCoroutineScope = appCoroutineScope.childScope(dispatchers.main, "Session-${sessionId}")
|
||||
private val verificationService = RustSessionVerificationService()
|
||||
private val syncService = RustSyncService(roomListService, sessionCoroutineScope)
|
||||
|
|
@ -92,6 +91,7 @@ class RustMatrixClient constructor(
|
|||
)
|
||||
private val notificationService = RustNotificationService(client)
|
||||
|
||||
|
||||
private val clientDelegate = object : ClientDelegate {
|
||||
override fun didReceiveAuthError(isSoftLogout: Boolean) {
|
||||
//TODO handle this
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue