Commit 9fce71f896
Unregistered key
Layout: unified · split
src/windows/room/mod.rs +2 −1
| @@ -591,7 +591,8 @@ impl RoomState { | |||
| 591 | let msg = match field { | 591 | let msg = match field { |
| 592 | RoomField::History => { | 592 | RoomField::History => { |
| 593 | let visibility = room.history_visibility(); | 593 | let visibility = room.history_visibility(); |
| 594 | format!("Room history visibility: {visibility:?}") | 594 | let visibility = visibility.as_ref().map(|v| v.as_str()); |
| 595 | format!("Room history visibility: {}", visibility.unwrap_or("<unknown>")) | ||
| 595 | }, | 596 | }, |
| 596 | RoomField::Id => { | 597 | RoomField::Id => { |
| 597 | let id = room.room_id(); | 598 | let id = room.room_id(); |
src/worker.rs +1 −1
| @@ -21,12 +21,12 @@ use tracing::{error, warn}; | |||
| 21 | use url::Url; | 21 | use url::Url; |
| 22 | 22 | ||
| 23 | use matrix_sdk::{ | 23 | use matrix_sdk::{ |
| 24 | authentication::matrix::MatrixSession, | ||
| 24 | config::{RequestConfig, SyncSettings}, | 25 | config::{RequestConfig, SyncSettings}, |
| 25 | deserialized_responses::DisplayName, | 26 | deserialized_responses::DisplayName, |
| 26 | encryption::verification::{SasVerification, Verification}, | 27 | encryption::verification::{SasVerification, Verification}, |
| 27 | encryption::{BackupDownloadStrategy, EncryptionSettings}, | 28 | encryption::{BackupDownloadStrategy, EncryptionSettings}, |
| 28 | event_handler::Ctx, | 29 | event_handler::Ctx, |
| 29 | authentication::matrix::MatrixSession, | ||
| 30 | reqwest, | 30 | reqwest, |
| 31 | room::{Messages, MessagesOptions, Room as MatrixRoom, RoomMember}, | 31 | room::{Messages, MessagesOptions, Room as MatrixRoom, RoomMember}, |
| 32 | ruma::{ | 32 | ruma::{ |