From 515f0c5089b08044c4a00e5347b7e5a15201084e Mon Sep 17 00:00:00 2001 From: "B. Petersen" Date: Tue, 5 Nov 2019 23:23:18 +0100 Subject: [PATCH] correct ffi return value of dc_add_device_msg() --- deltachat-ffi/deltachat.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deltachat-ffi/deltachat.h b/deltachat-ffi/deltachat.h index 56918e8d0..60404603b 100644 --- a/deltachat-ffi/deltachat.h +++ b/deltachat-ffi/deltachat.h @@ -1114,9 +1114,9 @@ void dc_set_draft (dc_context_t* context, uint32_t ch * @param context The context as created by dc_context_new(). * @param msg Message to be added to the device-chat. * The message appears to the user as an incoming message. - * @return None. + * @return The ID of the added message. */ -void dc_add_device_msg (dc_context_t* context, dc_msg_t* msg); +uint32_t dc_add_device_msg (dc_context_t* context, dc_msg_t* msg); /**