From a285c1330b7def6d407fb14a0eb839064aee31e7 Mon Sep 17 00:00:00 2001 From: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com> Date: Fri, 5 Jan 2024 18:05:23 +0400 Subject: [PATCH] fix comment --- src/Simplex/Chat/Store/Messages.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Simplex/Chat/Store/Messages.hs b/src/Simplex/Chat/Store/Messages.hs index 7a2b2bb8d..2ece41666 100644 --- a/src/Simplex/Chat/Store/Messages.hs +++ b/src/Simplex/Chat/Store/Messages.hs @@ -2002,7 +2002,7 @@ updateLocalChatItem' db User {userId} noteFolderId ci newContent = do liftIO $ updateLocalChatItem_ db userId noteFolderId ci' pure ci' --- this function assumes that direct item with correct chat direction already exists, +-- this function assumes that local item with correct chat direction already exists, -- it should be checked before calling it updateLocalChatItem_ :: forall d. MsgDirectionI d => DB.Connection -> UserId -> NoteFolderId -> ChatItem 'CTLocal d -> IO () updateLocalChatItem_ db userId noteFolderId ChatItem {meta, content} = do