mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2024-12-17 17:20:21 +01:00
Merge branch 'master' into remote-desktop
This commit is contained in:
@@ -28,7 +28,7 @@ main = do
|
||||
welcome opts
|
||||
t <- withTerminal pure
|
||||
simplexChatTerminal terminalChatConfig opts t
|
||||
else simplexChatCore terminalChatConfig opts Nothing $ \user cc -> do
|
||||
else simplexChatCore terminalChatConfig opts $ \user cc -> do
|
||||
rh <- readTVarIO $ currentRemoteHost cc
|
||||
let cmdRH = rh -- response RemoteHost is the same as for the command itself
|
||||
r <- sendChatCmdStr cc chatCmd
|
||||
|
||||
@@ -30,7 +30,7 @@ import UnliftIO.STM
|
||||
|
||||
simplexChatServer :: ChatServerConfig -> ChatConfig -> ChatOpts -> IO ()
|
||||
simplexChatServer srvCfg cfg opts =
|
||||
simplexChatCore cfg opts Nothing . const $ runChatServer srvCfg
|
||||
simplexChatCore cfg opts . const $ runChatServer srvCfg
|
||||
|
||||
data ChatServerConfig = ChatServerConfig
|
||||
{ chatPort :: ServiceName,
|
||||
|
||||
Reference in New Issue
Block a user