summaryrefslogtreecommitdiffstats
path: root/server/src/apub/community.rs
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/apub/community.rs')
-rw-r--r--server/src/apub/community.rs4
1 files changed, 1 insertions, 3 deletions
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())?