diff --git a/deltachat-ffi/deltachat.h b/deltachat-ffi/deltachat.h index 612110171..7d050cedd 100644 --- a/deltachat-ffi/deltachat.h +++ b/deltachat-ffi/deltachat.h @@ -1157,7 +1157,7 @@ uint32_t dc_send_videochat_invitation (dc_context_t* context, uint32_t chat_id); * @param json program-readable data, this is create in JS land as: * - `payload`: any JS object or primitive. * - `info`: optional informational message. will be shown in chat an may be added as system notification. - * - `notifyUsers`: optional array of user `addr` that should be notified eg. by a sound. + * - `notify`: optional array of user `addr` that should be notified eg. by a sound. * note that still all users get the update payload and the `info` message shown in a chat. * - `document`: optional document name. shown eg. in title bar. * - `summary`: optional summary. shown beside app icon. diff --git a/src/webxdc.rs b/src/webxdc.rs index f0c4bdd3c..798619e0d 100644 --- a/src/webxdc.rs +++ b/src/webxdc.rs @@ -323,7 +323,7 @@ impl Context { ) .await?; } else { - // TODO: change add_info_msg_with_cmd() to emit DC_EVENT_INCOMING_MSG if update.notifyUsers refers to us + // TODO: change add_info_msg_with_cmd() to emit DC_EVENT_INCOMING_MSG if update.notify refers to us chat::add_info_msg_with_cmd( self, instance.chat_id,