Send failure verified user : set the room key recipient strategy
This commit is contained in:
parent
eae580422d
commit
e37f9aa46e
1 changed files with 3 additions and 0 deletions
|
|
@ -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())
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue