@@ -4397,6 +4397,9 @@ int dc_msg_is_info (const dc_msg_t* msg);
4397
4397
* Currently, the following types are defined:
4398
4398
* - DC_INFO_PROTECTION_ENABLED (11) - Info-message for "Chat is now protected"
4399
4399
* - DC_INFO_PROTECTION_DISABLED (12) - Info-message for "Chat is no longer protected"
4400
+ * - DC_INFO_INVALID_UNENCRYPTED_MAIL (13) - Info-message for "Provider requires end-to-end encryption which is not setup yet",
4401
+ * the UI should change the corresponding string using #DC_STR_INVALID_UNENCRYPTED_MAIL
4402
+ * and also offer a way to fix the encryption, eg. by a button offering a QR scan
4400
4403
*
4401
4404
* Even when you display an icon,
4402
4405
* you should still display the text of the informational message using dc_msg_get_text()
@@ -4423,6 +4426,7 @@ int dc_msg_get_info_type (const dc_msg_t* msg);
4423
4426
#define DC_INFO_EPHEMERAL_TIMER_CHANGED 10
4424
4427
#define DC_INFO_PROTECTION_ENABLED 11
4425
4428
#define DC_INFO_PROTECTION_DISABLED 12
4429
+ #define DC_INFO_INVALID_UNENCRYPTED_MAIL 13
4426
4430
#define DC_INFO_WEBXDC_INFO_MESSAGE 32
4427
4431
4428
4432
/**
@@ -7010,6 +7014,8 @@ void dc_event_unref(dc_event_t* event);
7010
7014
/// "You added member %1$s."
7011
7015
///
7012
7016
/// Used in status messages.
7017
+ ///
7018
+ /// `%1$s` will be replaced by the added member's name.
7013
7019
#define DC_STR_ADD_MEMBER_BY_YOU 128
7014
7020
7015
7021
/// "Member %1$s added by %2$s."
@@ -7231,6 +7237,21 @@ void dc_event_unref(dc_event_t* event);
7231
7237
/// Used as the first info messages in newly created groups.
7232
7238
#define DC_STR_NEW_GROUP_SEND_FIRST_MESSAGE 172
7233
7239
7240
+ /// "Member %1$s added."
7241
+ ///
7242
+ /// Used as info messages.
7243
+ ///
7244
+ /// `%1$s` will be replaced by the added member's name.
7245
+ #define DC_STR_MESSAGE_ADD_MEMBER 173
7246
+
7247
+ /// "Your email provider %1$s requires end-to-end encryption which is not setup yet."
7248
+ ///
7249
+ /// Used as info messages when a message cannot be sent because it cannot be encrypted.
7250
+ ///
7251
+ /// `%1$s` will be replaced by the provider's domain.
7252
+ #define DC_STR_INVALID_UNENCRYPTED_MAIL 174
7253
+
7254
+
7234
7255
/**
7235
7256
* @}
7236
7257
*/
0 commit comments