mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
Send failure verified user : set the room key recipient strategy
This commit is contained in:
+3
@@ -60,6 +60,9 @@ class RustMatrixClientFactory @Inject constructor(
|
|||||||
.homeserverUrl(sessionData.homeserverUrl)
|
.homeserverUrl(sessionData.homeserverUrl)
|
||||||
.username(sessionData.userId)
|
.username(sessionData.userId)
|
||||||
.setSessionDelegate(sessionDelegate)
|
.setSessionDelegate(sessionDelegate)
|
||||||
|
.roomKeyRecipientStrategy(
|
||||||
|
strategy = CollectStrategy.DeviceBasedStrategy(false, true)
|
||||||
|
)
|
||||||
.use { it.build() }
|
.use { it.build() }
|
||||||
|
|
||||||
client.restoreSession(sessionData.toSession())
|
client.restoreSession(sessionData.toSession())
|
||||||
|
|||||||
Reference in New Issue
Block a user