From 3eccbfdc91fdeeeea78133fd38e21e4e5eef00b8 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Fri, 21 Jun 2024 16:15:48 -0400 Subject: [PATCH] Update crates/db_views/src/post_view.rs Co-authored-by: dullbananas --- crates/db_views/src/post_view.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/db_views/src/post_view.rs b/crates/db_views/src/post_view.rs index 8e6bd8906..7e31b8e65 100644 --- a/crates/db_views/src/post_view.rs +++ b/crates/db_views/src/post_view.rs @@ -407,7 +407,7 @@ fn queries<'a>() -> Queries< } // Only hide the read posts, if the saved_only is false. Otherwise ppl with the hide_read // setting wont be able to see saved posts. - else if !(options.show_read.unwrap_or_default() || options.local_user.show_read_posts()) { + else if !options.show_read.unwrap_or(options.local_user.show_read_posts()) { // Do not hide read posts when it is a user profile view // Or, only hide read posts on non-profile views if let (None, Some(person_id)) = (options.creator_id, options.local_user.person_id()) {