Alexander Krotov
801b9f3ffa
Fix dc_chat_get_remaining_mute_duration
...
Return time since current time, not UNIX epoch.
2020-08-08 10:47:48 +03:00
Alexander Krotov
3c8e60a2a3
dc_set_chat_mute_duration: avoid panic on overflow
2020-08-06 18:48:22 +03:00
B. Petersen
6807bc6eb2
bump version to 1.43
2020-08-04 13:02:57 +02:00
B. Petersen
c5c1cfd5e8
add videochat-type "jitsi"
...
this pr allows prefixing custom jitsi urls with `jitsi:`
so that clients have a chance to detect these custom instances
and may start the corresponding app.
2020-07-31 15:23:08 +02:00
B. Petersen
9ea57e5862
bump version to 1.42
2020-07-30 16:25:22 +02:00
B. Petersen
1019a93991
add qr-code-type for a webrtc-instance-pattern
...
introduce the qr-code-type `DCWEBRTC:[webrtc_instance]`.
dc_check_qr() returns this as the type DC_QR_WEBRTC
and these qr-codes can be passed to dc_set_config_from_qr() then;
this finally sets `webrtc_instance` using dc_set_config().
2020-07-30 15:26:57 +02:00
B. Petersen
27b4cb084e
bump version to 1.41
2020-07-28 19:49:53 +02:00
B. Petersen
2bf27dd5cd
add dc_chatlist_get_summary2() api
...
needed for how node/js handles the chatlist currently
(it convertes the ffi-object to an js-object and throws ffi-object away directly,
this makes it hard to access dc_chatlist_get_summary() later.
2020-07-28 16:47:57 +02:00
B. Petersen
9912dd45b9
add missing links and @memberof declarations in ffi-docs
2020-07-26 23:07:27 +02:00
B. Petersen
c43f6964c5
wording
2020-07-23 23:49:05 +02:00
B. Petersen
72d95075a0
return correct videochat-type
2020-07-22 23:36:21 +02:00
B. Petersen
39364d1f6c
prefix webrtc_instance by type, unify naming
2020-07-22 23:36:20 +02:00
B. Petersen
f3b9f671ba
webrtc-config-setting is just 'webrtc_instance'
2020-07-22 23:36:20 +02:00
B. Petersen
e054a49198
tweak examples
2020-07-22 23:36:20 +02:00
B. Petersen
29d4197340
send out videochat-invitation message, set up fallback text
2020-07-22 23:36:19 +02:00
B. Petersen
11b369db0f
rename basic_web_rtc_instance to basic_webrtc_instance
2020-07-22 23:36:19 +02:00
B. Petersen
0b2bce8334
use message-type instead of a special flag to mark videochat-invitations
2020-07-22 23:36:19 +02:00
B. Petersen
b6a48ad39b
design APIs for videochats
2020-07-22 23:36:19 +02:00
B. Petersen
dcf6a41239
update docs
2020-07-21 00:57:08 +02:00
Alexander Krotov
60b3550952
Fix clippy errors
2020-07-20 13:06:58 +02:00
Alexander Krotov
35542189d8
deltachat-ffi: convert clippy warnings to errors
2020-07-20 13:06:58 +02:00
Simon Laux
bb2e8b4392
improve documentation a bit
2020-07-18 19:12:27 +02:00
Simon Laux
8895dc36c7
add documentation
2020-07-18 19:12:27 +02:00
Alexander Krotov
7da69a4644
Add dc_msg_get_ephemeral_{timer, timestamp}()
2020-07-11 22:25:17 +03:00
Alexander Krotov
f28a0db7d0
Store typed timer in ChatEphemeralTimerModified event
2020-07-10 02:55:17 +03:00
B. Petersen
18045c9c14
bump version to 1.40
2020-07-09 23:42:23 +02:00
B. Petersen
6a99e31de4
document the new option (see #1677 ) to get the reliable time of a DAYMARKER
2020-07-06 17:27:11 +02:00
Alexander Krotov
db6623d0cf
Add stock strings for ephemeral timer changes
2020-07-01 12:31:51 +03:00
Alexander Krotov
97599bd78e
dc_array: remove unused binding
2020-07-01 12:31:11 +03:00
Alexander Krotov
56518420bc
Add get_marker method to dc_array_t
2020-06-30 01:21:18 +03:00
Alexander Krotov
615a76f35e
Add timestamp to DayMarker
...
With this change, API user does not need to look at the timestamp of
the next message to display the day marker, but can get the timestamp
directly from the marker. This way there is no database query and no
risk of error as a result of database being busy or message being deleted.
2020-06-30 01:21:18 +03:00
Alexander Krotov
7d048ac419
Add autodelete timers
2020-06-29 23:04:34 +03:00
Alexander Krotov
41fe3db79d
Add ChatItem type
...
ChatItem can represent markers as enum variants instead of special MsgIds.
2020-06-29 00:30:17 +03:00
Alexander Krotov
42f6a7c77c
Remove dc_array_get_raw
...
It does not work with typed arrays, such as locations and messages.
Use dc_array_get_id in a loop instead.
2020-06-26 01:22:10 +03:00
Alexander Krotov
09833eb74d
dc_array: introduce MsgIds variant
...
This avoids allocation of u32 vector.
2020-06-26 01:22:10 +03:00
Alexander Krotov
2c11df46a7
dc_array: remove unnecessary "as u32" cast
2020-06-26 01:22:10 +03:00
Alexander Krotov
443ad04f46
Mark all dc_array method as pub(crate)
...
This make it easier to find unused methods.
2020-06-26 01:22:10 +03:00
Alexander Krotov
f2d09cc51e
dc_array: simplify and test search_id
...
This also makes it possible to search for location IDs.
2020-06-26 01:22:10 +03:00
Alexander Krotov
83dde57afa
Remove unused dc_array methods
2020-06-26 01:22:10 +03:00
B. Petersen
b7464f7a5c
bump version to 1.39
2020-06-23 18:41:45 +02:00
B. Petersen
73e695537a
add missing doc for bcc_self
2020-06-22 22:49:26 +02:00
B. Petersen
16e3c113b7
update ffi docs; avatar is sent with messages since end 2019
2020-06-22 22:49:26 +02:00
B. Petersen
16c53637d9
update docs to new watch-settings behavior
2020-06-22 13:47:47 +02:00
Alexander Krotov
cf09942737
deltachat-ffi: use as_deref() as suggested by clippy
2020-06-22 12:37:29 +03:00
Alexander Krotov
7bfadb14ea
Fix a typo (prover -> provider)
2020-06-21 20:13:06 +03:00
B. Petersen
31a5811241
bump version to 1.38
2020-06-20 19:16:07 +02:00
B. Petersen
d8be0cdf35
bump version to 1.37
2020-06-19 21:32:47 +02:00
dignifiedquire
baff13ecab
fix warnings and bugs, noticed on nightly
2020-06-17 19:27:27 +02:00
B. Petersen
aa9b5da1c0
bump version to 1.36
2020-06-17 15:45:38 +02:00
bjoern
44037dd711
Update deltachat-ffi/deltachat.h
...
Co-authored-by: Hocuri <hocuri@gmx.de >
2020-06-15 23:36:22 +02:00