From 370936aaa1e04e911e3d1d206a409e1fd959b2ce Mon Sep 17 00:00:00 2001 From: Alexander Bondarenko <486682+dpwiz@users.noreply.github.com> Date: Thu, 30 May 2024 20:26:15 +0300 Subject: [PATCH] hide up/down details in CLI unless requested with -c --- src/Simplex/Chat.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Simplex/Chat.hs b/src/Simplex/Chat.hs index 4dc9dabed1..e2b0a977fd 100644 --- a/src/Simplex/Chat.hs +++ b/src/Simplex/Chat.hs @@ -3685,7 +3685,7 @@ processAgentMessageNoConn = \case where connIds = map AgentConnId conns notifyAPI = toView . CRNetworkStatus nsStatus - notifyCLI = do + notifyCLI = whenM (asks $ subscriptionEvents . config) $ do cs <- withStore' (`getConnectionsContacts` conns) toView $ event srv cs