diff --git a/src/Simplex/Messaging/Server/MsgStore/Journal.hs b/src/Simplex/Messaging/Server/MsgStore/Journal.hs index c33c2b282..9cdfa653a 100644 --- a/src/Simplex/Messaging/Server/MsgStore/Journal.hs +++ b/src/Simplex/Messaging/Server/MsgStore/Journal.hs @@ -459,8 +459,6 @@ newJournalId g = strEncode <$> atomically (stateTVar g $ genByteString 12) openJournals :: FilePath -> MsgQueueState -> IO (MsgQueueState, Handle, Maybe Handle) openJournals dir st@MsgQueueState {readState = rs, writeState = ws} = do - -- TODO verify that file exists, what to do if it's not, or if its state diverges - -- TODO check current position matches state, fix if not let rjId = journalId rs wjId = journalId ws openJournal rs >>= \case