From: Felix Ableitner Date: Fri, 7 Aug 2020 13:19:08 +0000 (+0200) Subject: Merge branch 'main' into federation-authorisation X-Git-Url: http://these/git/%22https:/image.com/readmes/%22%7Burl%7D/%7B?a=commitdiff_plain;h=0cc49e6ca985f06792712c00d9be50b0d7c7eacd;p=lemmy.git Merge branch 'main' into federation-authorisation --- 0cc49e6ca985f06792712c00d9be50b0d7c7eacd diff --cc server/src/apub/community.rs index 3773b8fb,549d9349..8b522b44 --- a/server/src/apub/community.rs +++ b/server/src/apub/community.rs @@@ -341,30 -334,50 +341,56 @@@ impl FromApub for CommunityForm .unwrap(); let creator = get_or_fetch_and_upsert_user(creator_uri, client, pool).await?; + let name = group + .inner + .name() + .unwrap() + .as_one() + .unwrap() + .as_xsd_string() + .unwrap() + .to_string(); + let title = group.inner.preferred_username().unwrap().to_string(); + // TODO: should be parsed as html and tags like