api!: remove deprecated dc_chat_is_protected()

This commit is contained in:
link2xt
2026-08-11 10:22:14 +00:00
committed by l
parent d89a972a2c
commit 9f5fbcdcae
2 changed files with 0 additions and 16 deletions

View File

@@ -3777,17 +3777,6 @@ int dc_chat_is_device_talk (const dc_chat_t* chat);
int dc_chat_can_send (const dc_chat_t* chat);
/**
* Deprecated, always returns 0.
*
* @memberof dc_chat_t
* @param chat The chat object.
* @return Always 0.
* @deprecated 2025-09-09
*/
int dc_chat_is_protected (const dc_chat_t* chat);
/**
* Check if the chat is encrypted.
*

View File

@@ -3046,11 +3046,6 @@ pub unsafe extern "C" fn dc_chat_can_send(chat: *mut dc_chat_t) -> libc::c_int {
.unwrap_or_default() as libc::c_int
}
#[unsafe(no_mangle)]
pub extern "C" fn dc_chat_is_protected(_chat: *mut dc_chat_t) -> libc::c_int {
0
}
#[unsafe(no_mangle)]
pub unsafe extern "C" fn dc_chat_is_encrypted(chat: *mut dc_chat_t) -> libc::c_int {
if chat.is_null() {