From cb774751da349855c4fd122b265071c7a0ad0973 Mon Sep 17 00:00:00 2001 From: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com> Date: Wed, 12 Jun 2024 16:49:52 +0400 Subject: [PATCH] comment --- src/Simplex/Messaging/Agent/Client.hs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Simplex/Messaging/Agent/Client.hs b/src/Simplex/Messaging/Agent/Client.hs index d965459ac..32ca3106a 100644 --- a/src/Simplex/Messaging/Agent/Client.hs +++ b/src/Simplex/Messaging/Agent/Client.hs @@ -1909,7 +1909,9 @@ withNextSrv c userId usedSrvs initUsed action = do data AgentServersSummary = AgentServersSummary { usersServersSummary :: Map UserId ServersSummary -- UserId to be mapped to User in chat core - -- totalServersSummary :: ServersSummary -- compute in backend to not repeat logic in UI? + -- compute in backend to not repeat logic in UI? + -- requires separate type / changing summary type to accomodate many servers (e.g. lists of workers, etc.) + -- totalServersSummary :: ServersSummary } deriving (Show)