Updated to latest activitystreams package
This commit is contained in:
parent
c2cc81ff3b
commit
4cbf5d623e
|
@ -83,7 +83,7 @@ type (
|
|||
|
||||
// actorNew initializes an actor type actor
|
||||
func actorNew(id as.ObjectID, typ as.ActivityVocabularyType) *actor {
|
||||
if !as.ValidActorType(typ) {
|
||||
if !as.ActorTypes.Contains(typ) {
|
||||
typ = as.ActorType
|
||||
}
|
||||
|
||||
|
|
2
go.mod
2
go.mod
|
@ -2,6 +2,6 @@ module github.com/go-ap/activitypub
|
|||
|
||||
require (
|
||||
github.com/buger/jsonparser v0.0.0-20181023193515-52c6e1462ebd
|
||||
github.com/go-ap/activitystreams v0.0.0-20190512181306-9255f5ce5de3
|
||||
github.com/go-ap/activitystreams v0.0.0-20190516090843-3642d2156356
|
||||
github.com/go-ap/jsonld v0.0.0-20190306111347-fbb94302fe92
|
||||
)
|
||||
|
|
Reference in a new issue