fix comment

This commit is contained in:
spaced4ndy 2024-01-05 18:05:23 +04:00
parent 67e46f93e6
commit a285c1330b

View File

@ -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