mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-23 15:03:16 +00:00
fix
This commit is contained in:
1 parent
45c4dd3790
commit
d5c3c66d1e
1 file changed
+1
-1
+1
-1
@@ -168,7 +168,7 @@ newChatController
|
||||
let randomAgentServers = RandomAgentServers {smpServers = agentSMP, xftpServers = agentXFTP}
|
||||
servers <- withTransaction chatStore $ \db -> agentServers db config randomPresetServers randomAgentServers
|
||||
ccVar <- newEmptyTMVarIO
|
||||
let processEvent t = do
|
||||
let processEvent _ t = do
|
||||
cc <- atomically $ readTMVar ccVar
|
||||
runReaderT (processAgentEvent t) cc
|
||||
runExceptT (getSMPAgentClient aCfg {tbqSize} servers agentStore processEvent)
|
||||
|
||||
Reference in new issue
Block a user