Add support for previewing images in room scrollback (#108)

This commit is contained in:
Benjamin Grosse 2023-11-16 08:36:22 -08:00 committed by GitHub
parent 974775b29b
commit 221faa828d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 588 additions and 29 deletions

View file

@ -172,6 +172,7 @@ pub fn mock_dirs() -> DirectoryValues {
cache: PathBuf::new(),
logs: PathBuf::new(),
downloads: None,
image_previews: PathBuf::new(),
}
}
@ -195,6 +196,7 @@ pub fn mock_tunables() -> TunableValues {
.collect::<HashMap<_, _>>(),
open_command: None,
username_display: UserDisplayStyle::Username,
image_preview: None,
}
}