From 6abe95cb248543d9cec2f6ab48c51b09c0fd319f Mon Sep 17 00:00:00 2001 From: doesnm Date: Fri, 14 Jun 2024 21:51:44 +0300 Subject: [PATCH] add known field --- actor.go | 1 + 1 file changed, 1 insertion(+) diff --git a/actor.go b/actor.go index 2a80990..a9e7321 100644 --- a/actor.go +++ b/actor.go @@ -286,6 +286,7 @@ func (a *Actor) whoAmI() string { "publicKeyPem": a.publicKeyPem, } self["gateways"] = a.gateways + self["sameAs"] = []string{"ap://did:key:" + encoded + "/actor"} selfString, _ := json.Marshal(self) return string(selfString) }