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
|
||||
|
||||
Reference in New Issue
Block a user