Remove commentsEnabled AP extension

This isn't used.
This commit is contained in:
Matt Baer
2019-11-11 21:56:08 +09:00
parent 45b1985b97
commit 520cb996ce
+2 -5
View File
@@ -11,10 +11,7 @@ const (
toPublic = "https://www.w3.org/ns/activitystreams#Public" toPublic = "https://www.w3.org/ns/activitystreams#Public"
) )
var Extensions = map[string]string{ var Extensions = map[string]string{}
"sc": "http://schema.org#",
"commentsEnabled": "sc:Boolean",
}
// Activity describes actions that have either already occurred, are in the // Activity describes actions that have either already occurred, are in the
// process of occurring, or may occur in the future. // process of occurring, or may occur in the future.
@@ -122,7 +119,7 @@ type Object struct {
Tag []Tag `json:"tag"` Tag []Tag `json:"tag"`
// Extensions // Extensions
CommentsEnabled bool `json:"commentsEnabled"` // NOTE: add extensions here
} }
// NewNoteObject creates a basic Note object that includes the public // NewNoteObject creates a basic Note object that includes the public