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%24%7BwebArchiveUrl%7D/%22%7B%7D/%22https:/hacktivis.me/readmes/README.ja.md?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()?;