From: Dessalines Date: Mon, 7 Mar 2022 21:49:02 +0000 (+0000) Subject: Fix community rss. Fixes #2116 (#2119) X-Git-Url: http://these/git/%7B%60/feeds/u/readmes/static/bundle.js?a=commitdiff_plain;h=ffd2ba5d90be1b800599e95228a995687b987464;p=lemmy.git Fix community rss. Fixes #2116 (#2119) Co-authored-by: Nutomic --- 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()?;