From fc951d9295675bf39a63b5abcf1f18b68604495e Mon Sep 17 00:00:00 2001 From: Felix Date: Sun, 12 Apr 2020 16:53:55 +0200 Subject: Added comments about how to federate additional post/user fields --- server/src/apub/post.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'server/src/apub/post.rs') 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, -- cgit v1.2.3