mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2024-12-17 17:20:21 +01:00
core: support passing all network configuration to the agent (#868)
* core: support passing all network configuration to the agent * update simplexmq
This commit is contained in:
committed by
GitHub
parent
a36c367b81
commit
4ad1abcbfa
@@ -25,6 +25,7 @@ import Simplex.Chat.Store
|
||||
import Simplex.Chat.Types
|
||||
import Simplex.Chat.Util (safeDecodeUtf8)
|
||||
import Simplex.Messaging.Agent.Env.SQLite (AgentConfig (yesToMigrations))
|
||||
import Simplex.Messaging.Client (defaultNetworkConfig)
|
||||
import Simplex.Messaging.Protocol (CorrId (..))
|
||||
import System.Timeout (timeout)
|
||||
|
||||
@@ -67,8 +68,7 @@ mobileChatOpts =
|
||||
ChatOpts
|
||||
{ dbFilePrefix = undefined,
|
||||
smpServers = [],
|
||||
socksProxy = Nothing,
|
||||
tcpTimeout = 5000000,
|
||||
networkConfig = defaultNetworkConfig,
|
||||
logConnections = False,
|
||||
logAgent = False,
|
||||
chatCmd = "",
|
||||
|
||||
Reference in New Issue
Block a user