fix comment
This commit is contained in:
parent
67e46f93e6
commit
a285c1330b
@ -2002,7 +2002,7 @@ updateLocalChatItem' db User {userId} noteFolderId ci newContent = do
|
|||||||
liftIO $ updateLocalChatItem_ db userId noteFolderId ci'
|
liftIO $ updateLocalChatItem_ db userId noteFolderId ci'
|
||||||
pure 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
|
-- it should be checked before calling it
|
||||||
updateLocalChatItem_ :: forall d. MsgDirectionI d => DB.Connection -> UserId -> NoteFolderId -> ChatItem 'CTLocal d -> IO ()
|
updateLocalChatItem_ :: forall d. MsgDirectionI d => DB.Connection -> UserId -> NoteFolderId -> ChatItem 'CTLocal d -> IO ()
|
||||||
updateLocalChatItem_ db userId noteFolderId ChatItem {meta, content} = do
|
updateLocalChatItem_ db userId noteFolderId ChatItem {meta, content} = do
|
||||||
|
Loading…
Reference in New Issue
Block a user