hide up/down details in CLI unless requested with -c

This commit is contained in:
Alexander Bondarenko
2024-05-30 20:26:15 +03:00
parent 7b108536fd
commit 370936aaa1
+1 -1
View File
@@ -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