all repos — honk @ 5e6e2450792800716d0ea4a3e9c59a62cc490d42

my fork of honk

add security namespace to context for actor
Ted Unangst tedu@tedunangst.com
Sat, 17 Feb 2024 19:44:51 -0500
commit

5e6e2450792800716d0ea4a3e9c59a62cc490d42

parent

f9d234ac480e4d5b7f86d64c01cee431c2e0087e

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M activity.goactivity.go

@@ -45,6 +45,7 @@ `application/activity+json`,

} const itiswhatitis = "https://www.w3.org/ns/activitystreams" +const papersplease = "https://w3id.org/security/v1" const thewholeworld = "https://www.w3.org/ns/activitystreams#Public" const tinyworld = "as:Public" const chatKeyProp = "chatKeyV0"

@@ -1707,7 +1708,7 @@ }

func junkuser(user *WhatAbout) junk.Junk { j := junk.New() - j["@context"] = itiswhatitis + j["@context"] = []string{itiswhatitis, papersplease} j["id"] = user.URL j["inbox"] = user.URL + "/inbox" j["outbox"] = user.URL + "/outbox"