mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-18 20:29:10 +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…
Add table
Reference in a new issue