core: mark chat as read without specifying the items range, closes #647 (#648)

* core: mark chat as read without specifying the items range, closes #647

* moar tests
This commit is contained in:
Evgeny Poberezkin
2022-05-13 09:38:14 +01:00
committed by GitHub
parent da793bbf4f
commit c1eed47463
4 changed files with 45 additions and 20 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ data ChatCommand
| APISendMessage ChatRef ComposedMessage
| APIUpdateChatItem ChatRef ChatItemId MsgContent
| APIDeleteChatItem ChatRef ChatItemId CIDeleteMode
| APIChatRead ChatRef (ChatItemId, ChatItemId)
| APIChatRead ChatRef (Maybe (ChatItemId, ChatItemId))
| APIDeleteChat ChatRef
| APIAcceptContact Int64
| APIRejectContact Int64