mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2024-12-17 17:20:21 +01:00
core: support combining store functions in one transaction (#740)
* refactor store functions (WIP - does not compile yet) * update chat * update simplexmq
This commit is contained in:
committed by
GitHub
parent
b2a523c3fe
commit
4bf5125c51
@@ -85,7 +85,7 @@ defaultMobileConfig =
|
||||
type CJSONString = CString
|
||||
|
||||
getActiveUser_ :: SQLiteStore -> IO (Maybe User)
|
||||
getActiveUser_ st = find activeUser <$> getUsers st
|
||||
getActiveUser_ st = find activeUser <$> withTransaction st getUsers
|
||||
|
||||
chatInit :: String -> IO ChatController
|
||||
chatInit dbFilePrefix = do
|
||||
|
||||
+1451
-1662
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user