X-Git-Url: http://these/git/?a=blobdiff_plain;ds=sidebyside;f=crates%2Fapi%2Fsrc%2Fpost%2Fmark_read.rs;h=99f539a92e987f61221ed91fcd5ca77627939858;hb=c8063f3267cf2b3622f1fdc69128c6b55feefbbc;hp=0b777a7e1d4e27354bdb1b51400bd98f49d10ba2;hpb=9b710a2ed3df7411f97e873ae445e96fa5a8bd56;p=lemmy.git diff --git a/crates/api/src/post/mark_read.rs b/crates/api/src/post/mark_read.rs index 0b777a7e..99f539a9 100644 --- a/crates/api/src/post/mark_read.rs +++ b/crates/api/src/post/mark_read.rs @@ -28,7 +28,7 @@ impl Perform for MarkPostAsRead { } // Fetch it - 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?; Ok(Self::Response { post_view }) }