This commit is contained in:
Felix Ableitner 2023-11-06 13:12:53 +01:00
parent abe3ab2809
commit a5dc167b10

View file

@ -233,7 +233,7 @@ async fn generate_pictrs_thumbnail(
) -> Result<Url, LemmyError> { ) -> Result<Url, LemmyError> {
let pictrs_config = context.settings().pictrs_config()?; let pictrs_config = context.settings().pictrs_config()?;
if pictrs_config.cache_external_link_previews { if !pictrs_config.cache_external_link_previews {
return Ok(proxy_image_link(image_url.clone(), context).await?.into()); return Ok(proxy_image_link(image_url.clone(), context).await?.into());
} }