mirror of
https://github.com/chatmail/core.git
synced 2026-05-13 11:56:30 +03:00
jsonrpc: MessageSearchResult, always include chat_name(not an option anymore), also add author_id and chat_type (#4374)
* jsonrpc: `MessageSearchResult`, always include `chat_name`(not an option anymore), also add `author_id` and `chat_type` * replace .ok_or_else with anyhow context
This commit is contained in:
@@ -10,13 +10,19 @@
|
||||
- `get_chatlist_items_by_entries` now takes only chatids instead of `ChatListEntries`
|
||||
- `get_chatlist_entries` now returns `Vec<u32>` of chatids instead of `ChatListEntries`
|
||||
- `Event`: `context_id` property is now called `contextId`
|
||||
- jsonrpc: expand `MessageSearchResult`:
|
||||
- always include `chat_name`(not an option anymore)
|
||||
- add `author_id`, `chat_type`, `chat_color`, `is_chat_protected`, `is_chat_contact_request`, `is_chat_archived`
|
||||
- `author_name` now contains the overridden sender name.
|
||||
- JSON-RPC: add API to get reactions outside the message snapshot
|
||||
|
||||
### Fixes
|
||||
- Make the bots automatically accept group chat contact requests. #4377
|
||||
|
||||
### Fixes
|
||||
- jsonrpc: typescript client: fix types of events in event emitter
|
||||
|
||||
|
||||
## [1.114.0] - 2023-04-24
|
||||
|
||||
### Changes
|
||||
|
||||
Reference in New Issue
Block a user