Support displaying and editing room descriptions (#12)

This commit is contained in:
Ulyssa 2023-01-05 18:12:25 -08:00
parent 8ed037afca
commit 38f4795886
No known key found for this signature in database
GPG key ID: 1B3965A3D18B9B64
13 changed files with 286 additions and 55 deletions

View file

@ -110,6 +110,14 @@ pub fn mock_room() -> RoomInfo {
}
}
pub fn mock_dirs() -> DirectoryValues {
DirectoryValues {
cache: PathBuf::new(),
logs: PathBuf::new(),
downloads: PathBuf::new(),
}
}
pub fn mock_settings() -> ApplicationSettings {
ApplicationSettings {
matrix_dir: PathBuf::new(),
@ -122,7 +130,7 @@ pub fn mock_settings() -> ApplicationSettings {
dirs: None,
},
tunables: TunableValues { typing_notice: true, typing_notice_display: true },
dirs: DirectoryValues { cache: PathBuf::new() },
dirs: mock_dirs(),
}
}