From 46d450f565048be3711369c14ce7f415b63e88fd Mon Sep 17 00:00:00 2001 From: Dessalines Date: Thu, 5 Aug 2021 12:24:47 -0400 Subject: [PATCH] Fix post creator_blocked --- crates/db_views/src/post_view.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/db_views/src/post_view.rs b/crates/db_views/src/post_view.rs index 649d3db35..e9ee8bbf3 100644 --- a/crates/db_views/src/post_view.rs +++ b/crates/db_views/src/post_view.rs @@ -121,8 +121,8 @@ impl PostView { .left_join( person_block::table.on( post::creator_id - .eq(person_block::person_id) - .and(person_block::recipient_id.eq(person_id_join)), + .eq(person_block::recipient_id) + .and(person_block::person_id.eq(person_id_join)), ), ) .left_join(