Updated to latest activitystreams package

This commit is contained in:
Marius Orcsik 2019-05-16 11:11:23 +02:00
parent c2cc81ff3b
commit 4cbf5d623e
No known key found for this signature in database
GPG key ID: 889CE8E4FB2D877A
2 changed files with 2 additions and 2 deletions

View file

@ -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
View file

@ -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
)