mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-06-05 12:22:30 +00:00
Merge branch 'master' into chat-relays
This commit is contained in:
@@ -58,7 +58,7 @@ simplexChatCore cfg@ChatConfig {confirmMigrations, testView, chatHooks} opts@Cha
|
||||
run db@ChatDatabase {chatStore} = do
|
||||
users <- withTransaction chatStore getUsers
|
||||
u_ <- selectActiveUser coreOptions chatStore users
|
||||
let backgroundMode = not maintenance
|
||||
let backgroundMode = maintenance
|
||||
cc <- newChatController db u_ cfg opts backgroundMode
|
||||
u <- maybe (createActiveUser cc coreOptions createBot) pure u_
|
||||
unless testView $ putStrLn $ "Current user: " <> userStr u
|
||||
|
||||
Reference in New Issue
Block a user