From ffd2ba5d90be1b800599e95228a995687b987464 Mon Sep 17 00:00:00 2001
From: Dessalines <dessalines@users.noreply.github.com>
Date: Mon, 7 Mar 2022 21:49:02 +0000
Subject: [PATCH] Fix community rss. Fixes #2116 (#2119)

Co-authored-by: Nutomic <me@nutomic.com>
---
 crates/routes/src/feeds.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crates/routes/src/feeds.rs b/crates/routes/src/feeds.rs
index 9538f06c..49218c1b 100644
--- a/crates/routes/src/feeds.rs
+++ b/crates/routes/src/feeds.rs
@@ -206,7 +206,7 @@ fn get_feed_community(
   let community = Community::read_from_name(conn, community_name)?;
 
   let posts = PostQueryBuilder::create(conn)
-    .listing_type(ListingType::All)
+    .listing_type(ListingType::Community)
     .sort(*sort_type)
     .community_id(community.id)
     .list()?;
-- 
2.44.1