context: web::Data<LemmyContext>,
) -> Result<HttpResponse, LemmyError> {
let community: ApubCommunity = blocking(context.pool(), move |conn| {
- Community::read_from_name(conn, &info.community_name)
+ Community::read_from_name(conn, &info.community_name, true)
})
.await??
.into();
context: web::Data<LemmyContext>,
) -> Result<HttpResponse, LemmyError> {
let community = blocking(context.pool(), move |conn| {
- Community::read_from_name(conn, &info.community_name)
+ Community::read_from_name(conn, &info.community_name, false)
})
.await??;
let followers = GroupFollowers::new(community, &context).await?;
context: web::Data<LemmyContext>,
) -> Result<HttpResponse, LemmyError> {
let community = blocking(context.pool(), move |conn| {
- Community::read_from_name(conn, &info.community_name)
+ Community::read_from_name(conn, &info.community_name, false)
})
.await??;
let id = ObjectId::new(generate_outbox_url(&community.actor_id)?);
context: web::Data<LemmyContext>,
) -> Result<HttpResponse, LemmyError> {
let community: ApubCommunity = blocking(context.pool(), move |conn| {
- Community::read_from_name(conn, &info.community_name)
+ Community::read_from_name(conn, &info.community_name, false)
})
.await??
.into();