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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 28 additions and 21 deletions

View file

@ -636,7 +636,7 @@ func apiGetActiveUser() -> User? {
}
func apiStartChat() throws -> Bool {
let r = sendSimpleXCmd(.startChat(mainApp: false))
let r = sendSimpleXCmd(.startChat(mainApp: false, enableSndFiles: false))
switch r {
case .chatStarted: return true
case .chatRunning: return false