Send failure verified user : set the room key recipient strategy
This commit is contained in:
parent
da3f5e00dc
commit
d22d9f0bd2
1 changed files with 3 additions and 0 deletions
|
|
@ -60,6 +60,9 @@ class RustMatrixClientFactory @Inject constructor(
|
|||
.homeserverUrl(sessionData.homeserverUrl)
|
||||
.username(sessionData.userId)
|
||||
.setSessionDelegate(sessionDelegate)
|
||||
.roomKeyRecipientStrategy(
|
||||
strategy = CollectStrategy.DeviceBasedStrategy(false, true)
|
||||
)
|
||||
.use { it.build() }
|
||||
|
||||
client.restoreSession(sessionData.toSession())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue