core: choose random servers for the first user profile, use the same servers for other profiles (#4584)

* core: choose random servers for the first user profile, use the same servers for other profiles

* update ui clients
This commit is contained in:
Evgeny 2024-08-06 16:13:36 +01:00 committed by GitHub
parent f6ee6338c4
commit 7441ed9892
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 106 additions and 66 deletions

View file

@ -174,8 +174,10 @@ defaultChatHooks =
data DefaultAgentServers = DefaultAgentServers
{ smp :: NonEmpty (ServerCfg 'PSMP),
useSMP :: Int,
ntf :: [NtfServer],
xftp :: NonEmpty (ServerCfg 'PXFTP),
useXFTP :: Int,
netCfg :: NetworkConfig
}