fix formatting and most of the test

This commit is contained in:
Simon Laux
2022-10-31 19:32:01 +01:00
committed by link2xt
parent 1bd53de1f7
commit 3fcbc03759
3 changed files with 16 additions and 12 deletions

View File

@@ -2852,7 +2852,11 @@ pub unsafe extern "C" fn dc_chat_get_mailinglist_addr(chat: *mut dc_chat_t) -> *
return "".strdup();
}
let ffi_chat = &*chat;
ffi_chat.chat.get_mailinglist_addr().unwrap_or_default().strdup()
ffi_chat
.chat
.get_mailinglist_addr()
.unwrap_or_default()
.strdup()
}
#[no_mangle]