From b181dd36f7ce3d78db61e4d84d456c364cb234fa Mon Sep 17 00:00:00 2001 From: Anthony Wang Date: Wed, 18 Jan 2023 14:47:10 -0500 Subject: [PATCH] Client addressing for example activities --- accept.jsonld | 7 ++++--- create.jsonld | 10 +++++----- follow.jsonld | 3 ++- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/accept.jsonld b/accept.jsonld index 6af9bbb..ecfa6f2 100644 --- a/accept.jsonld +++ b/accept.jsonld @@ -4,9 +4,10 @@ "actor": "https://0.exozy.me/users/test.jsonld", "object": { "@context": "https://www.w3.org/ns/activitystreams", - "id": "https://social.exozy.me/b363f127-6422-4566-b8f1-878aa33b0e1c", + "id": "https://social.exozy.me/3dee8471-202d-438f-be51-8870fd797f9a", "type": "Follow", - "actor": "https://social.exozy.me/users/a", + "actor": "https://social.exozy.me/users/guest", "object": "https://0.exozy.me/users/test.jsonld" - } + }, + "to": "https://social.exozy.me/users/guest" } diff --git a/create.jsonld b/create.jsonld index a9c8893..9202fcb 100644 --- a/create.jsonld +++ b/create.jsonld @@ -1,14 +1,14 @@ { "@context": "https://www.w3.org/ns/activitystreams", - "id": "https://0.exozy.me/users/test.outbox/hello-world2", + "id": "https://0.exozy.me/users/test.outbox#helloworld", "type": "Create", "actor": "https://0.exozy.me/users/test.jsonld", "object": { - "id": "https://0.exozy.me/users/test.statuses/hello-world2", + "id": "https://0.exozy.me/users/test.statuses/helloworld", "type": "Note", "attributedTo": "https://0.exozy.me/users/test.jsonld", - "inReplyTo": "https://social.exozy.me/@a/109707513227348721", - "content": "Hello from fuwuqi! 2", + "content": "Hello from fuwuqi!!! 🙃", "to": "https://www.w3.org/ns/activitystreams#Public" - } + }, + "to": "https://0.exozy.me/users/test.followers" } diff --git a/follow.jsonld b/follow.jsonld index 290ca70..73f5a1c 100644 --- a/follow.jsonld +++ b/follow.jsonld @@ -3,5 +3,6 @@ "id": "https://0.exozy.me/users/test.outbox/follow", "type": "Follow", "actor": "https://0.exozy.me/users/test.jsonld", - "object": "https://social.exozy.me/users/a" + "object": "https://social.exozy.me/users/guest", + "to": "https://social.exozy.me/users/guest" }