fix maybeBackup called for nothing
This commit is contained in:
parent
e53fbaa11d
commit
76f856b2ea
@ -322,8 +322,6 @@ internal class RustCryptoService @Inject constructor(
|
||||
// keys claim request to be sent out.
|
||||
// This could be omitted but then devices might be waiting for the next
|
||||
outgoingRequestsProcessor.processOutgoingRequests(olmMachine)
|
||||
|
||||
keysBackupService.maybeBackupKeys()
|
||||
}
|
||||
}
|
||||
|
||||
@ -596,6 +594,9 @@ internal class RustCryptoService @Inject constructor(
|
||||
sessionId: String,
|
||||
) {
|
||||
megolmSessionImportManager.dispatchNewSession(roomId, sessionId)
|
||||
cryptoCoroutineScope.launch {
|
||||
keysBackupService.maybeBackupKeys()
|
||||
}
|
||||
}
|
||||
|
||||
override suspend fun onSyncWillProcess(isInitialSync: Boolean) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user