From bf1783feb46065332d83bef452751b28a7d76751 Mon Sep 17 00:00:00 2001 From: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com> Date: Mon, 12 Jan 2026 10:16:32 +0000 Subject: [PATCH] core: fix agent cleanup manager not starting in normal operation mode in CLI (#6567) --- src/Simplex/Chat/Core.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Simplex/Chat/Core.hs b/src/Simplex/Chat/Core.hs index 131b420bd9..5837e64f4d 100644 --- a/src/Simplex/Chat/Core.hs +++ b/src/Simplex/Chat/Core.hs @@ -52,7 +52,7 @@ simplexChatCore cfg@ChatConfig {confirmMigrations, testView, chatHooks} opts@Cha exitFailure run db@ChatDatabase {chatStore} = do u_ <- getSelectActiveUser chatStore - let backgroundMode = not maintenance + let backgroundMode = maintenance cc <- newChatController db u_ cfg opts backgroundMode u <- maybe (createActiveUser cc createBot) pure u_ unless testView $ putStrLn $ "Current user: " <> userStr u