core: mark all user messages read (#3530)

This commit is contained in:
Evgeny Poberezkin authored and GitHub committed 2023-12-11 12:26:45 +00:00
1 parent 2f7632a70f
commit f65b8a9e78
4 files changed
+17

No files matched your search

+2
View File
@@ -256,6 +256,8 @@ data ChatCommand
| APIDeleteChatItem ChatRef ChatItemId CIDeleteMode
| APIDeleteMemberChatItem GroupId GroupMemberId ChatItemId
| APIChatItemReaction {chatRef :: ChatRef, chatItemId :: ChatItemId, add :: Bool, reaction :: MsgReaction}
| APIUserRead UserId
| UserRead
| APIChatRead ChatRef (Maybe (ChatItemId, ChatItemId))
| APIChatUnread ChatRef Bool
| APIDeleteChat ChatRef Bool -- `notify` flag is only applied to direct chats