diff --git a/src/windows/room/mod.rs b/src/windows/room/mod.rs index fe9af49..adb3a9c 100644 --- a/src/windows/room/mod.rs +++ b/src/windows/room/mod.rs @@ -591,7 +591,8 @@ impl RoomState { let msg = match field { RoomField::History => { let visibility = room.history_visibility(); - format!("Room history visibility: {visibility:?}") + let visibility = visibility.as_ref().map(|v| v.as_str()); + format!("Room history visibility: {}", visibility.unwrap_or("")) }, RoomField::Id => { let id = room.room_id(); diff --git a/src/worker.rs b/src/worker.rs index 7ccf77a..c5badf5 100644 --- a/src/worker.rs +++ b/src/worker.rs @@ -21,12 +21,12 @@ use tracing::{error, warn}; use url::Url; use matrix_sdk::{ + authentication::matrix::MatrixSession, config::{RequestConfig, SyncSettings}, deserialized_responses::DisplayName, encryption::verification::{SasVerification, Verification}, encryption::{BackupDownloadStrategy, EncryptionSettings}, event_handler::Ctx, - authentication::matrix::MatrixSession, reqwest, room::{Messages, MessagesOptions, Room as MatrixRoom, RoomMember}, ruma::{