From 7b31fafc2df0c20b6cc93cd4e7c8ac05ed1559c3 Mon Sep 17 00:00:00 2001 From: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com> Date: Mon, 26 Apr 2021 20:34:28 +0100 Subject: [PATCH] Store log (#108) * StoreLog (WIP) * add log records to map * revert Protocol change * revert Server change * fix parseLogRecord * optionally save/restore queues to/from store log * refactor * refactor delQueueAndMsgs * move store log to /var/opt/simplex * use ini file --- Main.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/Main.hs b/Main.hs index f4100e9a18..bf874285d8 100644 --- a/Main.hs +++ b/Main.hs @@ -109,6 +109,7 @@ serializeChatResponse = \case Connected c -> [ttyContact c <> " connected"] Confirmation c -> [ttyContact c <> " ok"] ReceivedMessage c t -> prependFirst (ttyFromContact c) $ msgPlain t + -- TODO either add command to re-connect or update message below Disconnected c -> ["disconnected from " <> ttyContact c <> " - try \"/chat " <> bPlain (toBs c) <> "\""] YesYes -> ["you got it!"] ContactError e c -> case e of