diff --git a/deltachat-ffi/src/lib.rs b/deltachat-ffi/src/lib.rs index 3cd2cc5d5..f05f5b5b4 100644 --- a/deltachat-ffi/src/lib.rs +++ b/deltachat-ffi/src/lib.rs @@ -2521,7 +2521,9 @@ pub unsafe extern "C" fn dc_is_sending_locations_to_chat( }; block_on(async { - location::is_sending_locations_to_chat(ctx, chat_id).await.map(|res| res as u8) + location::is_sending_locations_to_chat(ctx, chat_id) + .await + .map(|res| res as u8) }) .unwrap_or_log_default(ctx, "Failed dc_is_sending_locations_to_chat()") as libc::c_int } diff --git a/deltachat-repl/src/cmdline.rs b/deltachat-repl/src/cmdline.rs index 51bd3d2a6..87d00f200 100644 --- a/deltachat-repl/src/cmdline.rs +++ b/deltachat-repl/src/cmdline.rs @@ -629,7 +629,9 @@ pub async fn cmdline(context: Context, line: &str, chat_id: &mut ChatId) -> Resu ); } } - if location::is_sending_locations_to_chat(&context, None).await? != location::LocationSendingStatus::Disabled { + if location::is_sending_locations_to_chat(&context, None).await? + != location::LocationSendingStatus::Disabled + { println!("Location streaming enabled."); } println!("{cnt} chats");