core: do not mark store as changed after passphrase test (#3833)
* core: do not mark store as changed after passphrase test * fix
This commit is contained in:
parent
2d643e8d29
commit
395654098c
@ -599,7 +599,7 @@ processChatCommand' vr = \case
|
|||||||
pure $ CRArchiveImported fileErrs
|
pure $ CRArchiveImported fileErrs
|
||||||
APIDeleteStorage -> withStoreChanged deleteStorage
|
APIDeleteStorage -> withStoreChanged deleteStorage
|
||||||
APIStorageEncryption cfg -> withStoreChanged $ sqlCipherExport cfg
|
APIStorageEncryption cfg -> withStoreChanged $ sqlCipherExport cfg
|
||||||
TestStorageEncryption key -> withStoreChanged $ sqlCipherTestKey key
|
TestStorageEncryption key -> sqlCipherTestKey key >> ok_
|
||||||
ExecChatStoreSQL query -> CRSQLResult <$> withStore' (`execSQL` query)
|
ExecChatStoreSQL query -> CRSQLResult <$> withStore' (`execSQL` query)
|
||||||
ExecAgentStoreSQL query -> CRSQLResult <$> withAgent (`execAgentStoreSQL` query)
|
ExecAgentStoreSQL query -> CRSQLResult <$> withAgent (`execAgentStoreSQL` query)
|
||||||
SlowSQLQueries -> do
|
SlowSQLQueries -> do
|
||||||
|
Loading…
Reference in New Issue
Block a user