From 3b62f58dd2ee8dc9e3d5fec15a48df052f164deb Mon Sep 17 00:00:00 2001 From: Dessalines Date: Tue, 28 Apr 2020 00:16:02 -0400 Subject: Adding federated post and comment likes. --- server/src/apub/community.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'server/src/apub/community.rs') diff --git a/server/src/apub/community.rs b/server/src/apub/community.rs index f5e4f44d..46bd9024 100644 --- a/server/src/apub/community.rs +++ b/server/src/apub/community.rs @@ -63,11 +63,9 @@ impl ActorType for Community { .get_actor_xsd_any_uri() .unwrap() .to_string(); + let id = format!("{}/accept/{}", self.actor_id, uuid::Uuid::new_v4()); let mut accept = Accept::new(); - // TODO using a fake accept id - let id = format!("{}/accept/{}", self.actor_id, uuid::Uuid::new_v4()); - //follow accept .object_props .set_context_xsd_any_uri(context())? -- cgit v1.2.3