mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 17:36:29 +03:00
rename dc_chat_get_mute_duration
to dc_chat_get_remaining_mute_duration
This commit is contained in:
@@ -2523,9 +2523,9 @@ pub unsafe extern "C" fn dc_chat_is_muted(chat: *mut dc_chat_t) -> libc::c_int {
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
pub unsafe extern "C" fn dc_chat_get_mute_duration(chat: *mut dc_chat_t) -> i64 {
|
||||
pub unsafe extern "C" fn dc_chat_get_remaining_mute_duration(chat: *mut dc_chat_t) -> i64 {
|
||||
if chat.is_null() {
|
||||
eprintln!("ignoring careless call to dc_chat_get_mute_duration()");
|
||||
eprintln!("ignoring careless call to dc_chat_get_remaining_mute_duration()");
|
||||
return 0;
|
||||
}
|
||||
let ffi_chat = &*chat;
|
||||
|
||||
Reference in New Issue
Block a user