mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-06-07 21:53:29 +00:00
core: single function to initialize the chat controller only if encryption key is correct (#1107)
This commit is contained in:
committed by
GitHub
parent
e1a7b02e59
commit
a977a0dd17
@@ -75,6 +75,8 @@ data ChatConfig = ChatConfig
|
||||
data ActiveTo = ActiveNone | ActiveC ContactName | ActiveG GroupName
|
||||
deriving (Eq)
|
||||
|
||||
data ChatDatabase = ChatDatabase {chatStore :: SQLiteStore, agentStore :: SQLiteStore}
|
||||
|
||||
data ChatController = ChatController
|
||||
{ currentUser :: TVar (Maybe User),
|
||||
activeTo :: TVar ActiveTo,
|
||||
|
||||
Reference in New Issue
Block a user