mirror of
https://github.com/chatmail/core.git
synced 2026-05-12 03:16:29 +03:00
add/send info-message on protection changes
This commit is contained in:
@@ -3460,7 +3460,8 @@ int dc_msg_is_forwarded (const dc_msg_t* msg);
|
||||
/**
|
||||
* Check if the message is an informational message, created by the
|
||||
* device or by another users. Such messages are not "typed" by the user but
|
||||
* created due to other actions, eg. dc_set_chat_name(), dc_set_chat_profile_image()
|
||||
* created due to other actions,
|
||||
* eg. dc_set_chat_name(), dc_set_chat_profile_image(), dc_set_chat_protection()
|
||||
* or dc_add_contact_to_chat().
|
||||
*
|
||||
* These messages are typically shown in the center of the chat view,
|
||||
@@ -4973,8 +4974,10 @@ void dc_event_unref(dc_event_t* event);
|
||||
#define DC_STR_BAD_TIME_MSG_BODY 85
|
||||
#define DC_STR_UPDATE_REMINDER_MSG_BODY 86
|
||||
#define DC_STR_ERROR_NO_NETWORK 87
|
||||
#define DC_STR_PROTECTION_ENABLED 88
|
||||
#define DC_STR_PROTECTION_DISABLED 89
|
||||
|
||||
#define DC_STR_COUNT 87
|
||||
#define DC_STR_COUNT 89
|
||||
|
||||
/*
|
||||
* @}
|
||||
|
||||
Reference in New Issue
Block a user