mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
simpler naming, matching better the density of the other items - and avoids snake_case and camelCase confusion :)
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user