Skip to content

Commit d3f2db2

Browse files
Simon-LauxJikstra
andauthored
jsonrpc: add more functions, mostly message related (#3590)
* add more functions, see changelog for details * add pr number to changelog * clarify doc comment * clarify usage of BasicChat and adjust properties acordingly r10s is right it should only contain what we need of the expensive calls * fix doc typos * run cargo fmt * jsonrpc: add connectivity functions * fix typo * fix typo * Add get_contact_encryption_info and get_connectivity_html Fix get_connectivity_html and get_encrinfo futures not being Send. See rust-lang/rust#101650 for more information. Co-authored-by: jikstra <[email protected]> * Update CHANGELOG * Update typescript files * remove todo from changelog Co-authored-by: jikstra <[email protected]>
1 parent e619d96 commit d3f2db2

File tree

9 files changed

+709
-52
lines changed

9 files changed

+709
-52
lines changed

CHANGELOG.md

+19-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
and `dc_event_emitter_unref()` should be used instead of
1212
`dc_accounts_event_emitter_unref`.
1313
- add `dc_contact_was_seen_recently()` #3560
14-
- jsonrpc: add functions: #3586, #3587
14+
- Fix get_connectivity_html and get_encrinfo futures not being Send. See rust-lang/rust#101650 for more information
15+
- jsonrpc: add functions: #3586, #3587, #3590
1516
- `deleteChat()`
1617
- `getChatEncryptionInfo()`
1718
- `getChatSecurejoinQrCodeSvg()`
@@ -20,10 +21,27 @@
2021
- `addContactToChat()`
2122
- `deleteMessages()`
2223
- `getMessageInfo()`
24+
- `getBasicChatInfo()`
25+
- `marknoticedChat()`
26+
- `getFirstUnreadMessageOfChat()`
27+
- `markseenMsgs()`
28+
- `forwardMessages()`
29+
- `removeDraft()`
30+
- `getDraft()`
31+
- `miscSendMsg()`
32+
- `miscSetDraft()`
33+
- `maybeNetwork()`
34+
- `getConnectivity()`
35+
- `getContactEncryptionInfo()`
36+
- `getConnectivityHtml()`
2337
- jsonrpc: add `is_broadcast` property to `ChatListItemFetchResult` #3584
2438
- jsonrpc: add `was_seen_recently` property to `ChatListItemFetchResult`, `FullChat` and `Contact` #3584
2539
- jsonrpc: add `webxdc_info` property to `Message` #3588
2640
- python: move `get_dc_event_name()` from `deltachat` to `deltachat.events` #3564
41+
- jsonrpc: add `webxdc_info`, `parent_id` and `download_state` property to `Message` #3588, #3590
42+
- jsonrpc: add `BasicChat` object as a leaner alternative to `FullChat` #3590
43+
- jsonrpc: add `last_seen` property to `Contact` #3590
44+
- breaking! jsonrpc: replace `Message.quoted_text` and `Message.quoted_message_id` with `Message.quote` #3590
2745

2846
### Changes
2947
- order contact lists by "last seen";

0 commit comments

Comments
 (0)