mirror of
https://github.com/element-hq/element-android
synced 2024-11-28 13:38:49 +03:00
offload megolm backup import off crypto thread
This commit is contained in:
parent
2144879e73
commit
dbb14e6313
1 changed files with 1 additions and 1 deletions
|
@ -690,7 +690,7 @@ internal class DefaultKeysBackupService @Inject constructor(
|
|||
// Get backed up keys from the homeserver
|
||||
val data = getKeys(sessionId, roomId, keysVersionResult.version!!)
|
||||
|
||||
withContext(coroutineDispatchers.crypto) {
|
||||
withContext(coroutineDispatchers.computation) {
|
||||
val sessionsData = ArrayList<MegolmSessionData>()
|
||||
// Restore that data
|
||||
var sessionsFromHsCount = 0
|
||||
|
|
Loading…
Reference in a new issue