Skip to content

Commit 0bac4ac

Browse files
committed
docs: update showpadlock ffi
1 parent ce5697c commit 0bac4ac

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

deltachat-ffi/deltachat.h

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4303,11 +4303,16 @@ int dc_msg_get_duration (const dc_msg_t* msg);
43034303

43044304

43054305
/**
4306-
* Check if a padlock should be shown beside the message.
4306+
* Check if message was correctly encrypted and signed.
4307+
*
4308+
* Historically, UIs showed a small padlock on the message then.
4309+
* Today, the UIs should instead
4310+
* show a small email-icon on the message if the message is not encrypted or signed,
4311+
* and nothing otherwise.
43074312
*
43084313
* @memberof dc_msg_t
43094314
* @param msg The message object.
4310-
* @return 1=padlock should be shown beside message, 0=do not show a padlock beside the message.
4315+
* @return 1=message correctly encrypted and signed, no need to show anything; 0=show email-icon beside the message.
43114316
*/
43124317
int dc_msg_get_showpadlock (const dc_msg_t* msg);
43134318

0 commit comments

Comments
 (0)