add and test for DC_IMAP_MESSAGE_DELETED event

This commit is contained in:
holger krekel
2019-10-01 13:40:35 +02:00
parent d83aa1e898
commit 96066712bd
7 changed files with 40 additions and 13 deletions

View File

@@ -3904,6 +3904,16 @@ int64_t dc_lot_get_timestamp (const dc_lot_t* lot);
*/
#define DC_EVENT_SMTP_MESSAGE_SENT 103
/**
* Emitted when a message was successfully marked as deleted on the SMTP server.
*
* @param data1 0
* @param data2 (const char*) Info string in english language.
* Must not be free()'d or modified and is valid only until the callback returns.
* @return 0
*/
#define DC_EVENT_IMAP_MESSAGE_DELETED 104
/**
* The library-user should write a warning string to the log.