X-Git-Url: http://these/git/?a=blobdiff_plain;f=crates%2Fapi%2Fsrc%2Fpost%2Fsave.rs;h=d9965dc756e0d07f223a25d8dd2161e596e9117e;hb=c8063f3267cf2b3622f1fdc69128c6b55feefbbc;hp=aa5d0c10e1c6d9dee59c0c4e523390a845a88954;hpb=9b710a2ed3df7411f97e873ae445e96fa5a8bd56;p=lemmy.git diff --git a/crates/api/src/post/save.rs b/crates/api/src/post/save.rs index aa5d0c10..d9965dc7 100644 --- a/crates/api/src/post/save.rs +++ b/crates/api/src/post/save.rs @@ -38,7 +38,7 @@ impl Perform for SavePost { let post_id = data.post_id; let person_id = local_user_view.person.id; - let post_view = PostView::read(&mut context.pool(), post_id, Some(person_id), None).await?; + let post_view = PostView::read(&mut context.pool(), post_id, Some(person_id), false).await?; // Mark the post as read mark_post_as_read(person_id, post_id, &mut context.pool()).await?;