mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-06-04 10:21:50 +00:00
prepare v1.1.0 (#259)
This commit is contained in:
+1
-2
@@ -365,8 +365,7 @@ processChatCommand user@User {userId, profile} = \case
|
||||
corrId <- liftIO $ SMP.CorrId <$> randomBytes gVar 8
|
||||
void . forkIO $
|
||||
withAgentLock a . withLock l $
|
||||
atomically . writeTBQueue q
|
||||
=<< (Just corrId,) <$> (action `catchError` (pure . CRChatError))
|
||||
(atomically . writeTBQueue q) . (Just corrId,) =<< (action `catchError` (pure . CRChatError))
|
||||
pure $ CRCmdAccepted corrId
|
||||
-- use function below to make commands "synchronous"
|
||||
-- procCmd :: m ChatResponse -> m ChatResponse
|
||||
|
||||
Reference in New Issue
Block a user