From 05f387ffa1b344f470983b7f326776db96f5c56d Mon Sep 17 00:00:00 2001 From: Matt Baer Date: Sun, 11 Nov 2018 11:54:21 -0500 Subject: [PATCH] Omit empty endpoints.sharedInbox This fixes writeas/writefreely#8 --- activitystreams/data.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activitystreams/data.go b/activitystreams/data.go index 5c7cee3..956b835 100644 --- a/activitystreams/data.go +++ b/activitystreams/data.go @@ -17,7 +17,7 @@ type ( } Endpoints struct { - SharedInbox string `json:"sharedInbox"` + SharedInbox string `json:"sharedInbox,omitempty"` } Image struct {