mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-14 19:35:23 +00:00
invert
This commit is contained in:
parent
abe3ab2809
commit
a5dc167b10
|
@ -233,7 +233,7 @@ async fn generate_pictrs_thumbnail(
|
|||
) -> Result<Url, LemmyError> {
|
||||
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());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue