From 2fbd44c59db9c94f7cd2055550066f429a19154b Mon Sep 17 00:00:00 2001 From: Dessalines Date: Wed, 10 Jun 2020 18:22:57 -0400 Subject: Adding pictrs thumbnail caching for urls and embeds. --- server/src/api/post.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/src/api/post.rs') diff --git a/server/src/api/post.rs b/server/src/api/post.rs index 84ef89f1..0e8a17e7 100644 --- a/server/src/api/post.rs +++ b/server/src/api/post.rs @@ -118,7 +118,7 @@ impl Perform for Oper { // Fetch Iframely and Pictshare cached image let (iframely_title, iframely_description, iframely_html, pictshare_thumbnail) = - fetch_iframely_and_pictshare_data(data.url.to_owned()); + fetch_iframely_and_pictrs_data(data.url.to_owned()); let post_form = PostForm { name: data.name.to_owned(), @@ -452,7 +452,7 @@ impl Perform for Oper { // Fetch Iframely and Pictshare cached image let (iframely_title, iframely_description, iframely_html, pictshare_thumbnail) = - fetch_iframely_and_pictshare_data(data.url.to_owned()); + fetch_iframely_and_pictrs_data(data.url.to_owned()); let post_form = PostForm { name: data.name.to_owned(), -- cgit v1.2.3