Update create.rs

This commit is contained in:
dullbananas 2024-06-11 12:31:28 -07:00 committed by GitHub
parent b816b4bcad
commit 4b7a9656ee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -86,9 +86,6 @@ pub async fn create_community(
.nsfw(data.nsfw) .nsfw(data.nsfw)
.private_key(Some(keypair.private_key)) .private_key(Some(keypair.private_key))
.public_key(keypair.public_key) .public_key(keypair.public_key)
.followers_url(Some(generate_followers_url(&community_actor_id)?))
.inbox_url(Some(generate_inbox_url(&community_actor_id)?))
.shared_inbox_url(Some(generate_shared_inbox_url(context.settings())?))
.posting_restricted_to_mods(data.posting_restricted_to_mods) .posting_restricted_to_mods(data.posting_restricted_to_mods)
.instance_id(site_view.site.instance_id) .instance_id(site_view.site.instance_id)
.visibility(data.visibility) .visibility(data.visibility)