X-Git-Url: http://these/git/?a=blobdiff_plain;f=crates%2Fapi%2Fsrc%2Fcommunity%2Ffollow.rs;h=2a50a94edcc982192692ddfed681909b6d23dc34;hb=c8063f3267cf2b3622f1fdc69128c6b55feefbbc;hp=8fea2625d43755135a1dacfaeaad595a5fdd7661;hpb=7bc64ab91a7b6c2097d287afd397395baa574ff3;p=lemmy.git diff --git a/crates/api/src/community/follow.rs b/crates/api/src/community/follow.rs index 8fea2625..2a50a94e 100644 --- a/crates/api/src/community/follow.rs +++ b/crates/api/src/community/follow.rs @@ -61,7 +61,7 @@ pub async fn follow_community( let community_id = data.community_id; let person_id = local_user_view.person.id; let community_view = - CommunityView::read(&mut context.pool(), community_id, Some(person_id), None).await?; + CommunityView::read(&mut context.pool(), community_id, Some(person_id), false).await?; let discussion_languages = CommunityLanguage::read(&mut context.pool(), community_id).await?; Ok(Json(CommunityResponse {