core: allow start in extension without subscriptions but with enabled files (#4464)

* core: allow start in extension without subscriptions but with enabled files

* only start sending files

* update

* update

* update simplexmq
This commit is contained in:
Evgeny Poberezkin
2024-07-17 14:14:19 +01:00
committed by GitHub
parent 391e9d57f2
commit ff8bbf11e7
8 changed files with 28 additions and 21 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ runSimplexChat :: ChatOpts -> User -> ChatController -> (User -> ChatController
runSimplexChat ChatOpts {maintenance} u cc chat
| maintenance = wait =<< async (chat u cc)
| otherwise = do
a1 <- runReaderT (startChatController True) cc
a1 <- runReaderT (startChatController True True) cc
a2 <- async $ chat u cc
waitEither_ a1 a2