Fix use of sync transaction in async context
This commit is contained in:
parent
d14198c005
commit
bf82a066f0
@ -107,7 +107,7 @@ class LinkedDevicePniKeyManagerImpl: LinkedDevicePniKeyManager {
|
||||
guard self.kvStore.getBool(
|
||||
Constants.hasRecordedPniMessageDecryptionErrorKey,
|
||||
defaultValue: false,
|
||||
transaction: syncTx
|
||||
transaction: tx
|
||||
) else {
|
||||
logger.info("Skipping validation - no reason to suspect an issue.")
|
||||
throw Interrupts.noPniDecryptionError
|
||||
|
||||
Loading…
Reference in New Issue
Block a user