Files
chatmail-core/deltachat-ffi
bjoern 9cc2fd555f resend messages using the same Message-ID (#3238)
* add dc_resend_msgs() to ffi

* add 'resend' to repl

* implement resend_msgs()

* allow only resending if allowed by chat-protection

this means, resending is denied if a chat is protected and we cannot encrypt
(normally, however, we should not arrive in that state)

* allow only resending of normal, non-info-messages

* allow only resending of own messages

* reset sending state to OutPending on resending

the resulting state is always OutDelivered first,
OutMdnRcvd again would be applied when a read receipt is received.

preserving old state is doable, however,
maybe this simple approach is also good enough, at least for now
(or maybe the simple approach is even just fine :)

another thing: when we upgrade to resending foreign messages,
we do not have a simple way to mark them as pending
as incoming message just do not have such a state -
but this is sth. for the future.
2022-04-26 20:59:17 +02:00
..
2019-04-28 18:06:26 +03:00
2021-08-07 12:03:25 +00:00
2022-04-10 17:01:30 +02:00
2019-08-26 19:17:58 +02:00
2021-03-13 22:19:12 +03:00

Delta Chat C Interface

Installation

see Installing libdeltachat system wide in ../README.md

Documentation

To generate the C Interface documentation, call doxygen in the deltachat-ffi directory and browse the html subdirectory.

If thinks work, the documentation is also available online at https://c.delta.chat