mirror of
https://github.com/chatmail/core.git
synced 2026-04-25 17:36:30 +03:00
docs: deprecate protection-broken and related stuff (#7018)
came over these parts while targeting the new info message of https://github.com/chatmail/core/pull/7008 in https://github.com/deltachat/deltachat-ios/pull/2778 and https://github.com/deltachat/deltachat-android/pull/3822 --------- Co-authored-by: Hocuri <hocuri@gmx.de>
This commit is contained in:
@@ -118,7 +118,7 @@ pub(crate) enum CantSendReason {
|
||||
/// The chat is a contact request, it needs to be accepted before sending a message.
|
||||
ContactRequest,
|
||||
|
||||
/// The chat was protected, but now a new message came in
|
||||
/// Deprecated. The chat was protected, but now a new message came in
|
||||
/// which was not encrypted / signed correctly.
|
||||
ProtectionBroken,
|
||||
|
||||
@@ -1935,7 +1935,7 @@ impl Chat {
|
||||
Ok(is_encrypted)
|
||||
}
|
||||
|
||||
/// Returns true if the chat was protected, and then an incoming message broke this protection.
|
||||
/// Deprecated 2025-07. Returns true if the chat was protected, and then an incoming message broke this protection.
|
||||
///
|
||||
/// This function is only useful if the UI enabled the `verified_one_on_one_chats` feature flag,
|
||||
/// otherwise it will return false for all chats.
|
||||
|
||||
Reference in New Issue
Block a user