diff options
author | Felix <me@nutomic.com> | 2020-04-12 16:53:55 +0200 |
---|---|---|
committer | Felix <me@nutomic.com> | 2020-04-12 16:53:55 +0200 |
commit | fc951d9295675bf39a63b5abcf1f18b68604495e (patch) | |
tree | 30c7850e139122cbb845f7d4b223dd7d424cc926 /server/src/apub/post.rs | |
parent | 17d3d2492cad63b3c63355a44752c3e9d21bc150 (diff) |
Added comments about how to federate additional post/user fields
Diffstat (limited to 'server/src/apub/post.rs')
-rw-r--r-- | server/src/apub/post.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/server/src/apub/post.rs b/server/src/apub/post.rs index 48c8b2db..fa252c5e 100644 --- a/server/src/apub/post.rs +++ b/server/src/apub/post.rs @@ -79,18 +79,18 @@ impl PostForm { body: oprops.get_content_xsd_string().map(|c| c.to_string()), creator_id: creator.id, community_id: community.id, - removed: None, - locked: None, + removed: None, // -> Delete activity / tombstone + locked: None, // -> commentsEnabled published: oprops .get_published() .map(|u| u.as_ref().to_owned().naive_local()), updated: oprops .get_updated() .map(|u| u.as_ref().to_owned().naive_local()), - deleted: None, - nsfw: false, - stickied: None, - embed_title: None, + deleted: None, // -> Delete activity / tombstone + nsfw: false, // -> sensitive + stickied: None, // -> put it in "featured" collection of the community + embed_title: None, // -> attachment? embed_description: None, embed_html: None, thumbnail_url: None, |