summaryrefslogtreecommitdiffstats
path: root/server/src/apub/community.rs
diff options
context:
space:
mode:
authorFelix <me@nutomic.com>2020-04-12 16:53:55 +0200
committerFelix <me@nutomic.com>2020-04-12 16:53:55 +0200
commitfc951d9295675bf39a63b5abcf1f18b68604495e (patch)
tree30c7850e139122cbb845f7d4b223dd7d424cc926 /server/src/apub/community.rs
parent17d3d2492cad63b3c63355a44752c3e9d21bc150 (diff)
Added comments about how to federate additional post/user fields
Diffstat (limited to 'server/src/apub/community.rs')
-rw-r--r--server/src/apub/community.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/apub/community.rs b/server/src/apub/community.rs
index 76a94ed2..36b9c703 100644
--- a/server/src/apub/community.rs
+++ b/server/src/apub/community.rs
@@ -112,7 +112,7 @@ impl CommunityForm {
// TODO: should be parsed as html and tags like <script> removed (or use markdown source)
// -> same for post.content etc
description: oprops.get_content_xsd_string().map(|s| s.to_string()),
- category_id: 1,
+ category_id: 1, // -> peertube uses `"category": {"identifier": "9","name": "Comedy"},`
creator_id: creator.id,
removed: None,
published: oprops