Skip to content

Commit f54ee17

Browse files
committed
Remove commentsEnabled AP extension
This isn't used.
1 parent 45b1985 commit f54ee17

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

activitystreams/activity.go

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,7 @@ const (
1111
toPublic = "https://www.w3.org/ns/activitystreams#Public"
1212
)
1313

14-
var Extensions = map[string]string{
15-
"sc": "http://schema.org#",
16-
"commentsEnabled": "sc:Boolean",
17-
}
14+
var Extensions = map[string]string{}
1815

1916
// Activity describes actions that have either already occurred, are in the
2017
// process of occurring, or may occur in the future.
@@ -122,7 +119,7 @@ type Object struct {
122119
Tag []Tag `json:"tag"`
123120

124121
// Extensions
125-
CommentsEnabled bool `json:"commentsEnabled"`
122+
// NOTE: add extensions here
126123
}
127124

128125
// NewNoteObject creates a basic Note object that includes the public

0 commit comments

Comments
 (0)