]> Untitled Git - lemmy.git/commitdiff
Fix community rss. Fixes #2116 (#2119)
authorDessalines <dessalines@users.noreply.github.com>
Mon, 7 Mar 2022 21:49:02 +0000 (21:49 +0000)
committerGitHub <noreply@github.com>
Mon, 7 Mar 2022 21:49:02 +0000 (21:49 +0000)
Co-authored-by: Nutomic <me@nutomic.com>
crates/routes/src/feeds.rs

index 9538f06c0ede0f056d18980650c9846ead144774..49218c1b0faa52dd2a63fbed241fbb2d4c12d757 100644 (file)
@@ -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()?;