Removed initializing the inbox, outbox, liked collections in NewActor
This commit is contained in:
parent
d23c21aea0
commit
4c61caf651
7
actor.go
7
actor.go
|
@ -301,13 +301,6 @@ func ActorNew(id ID, typ ActivityVocabularyType) *Actor {
|
|||
a.Name = NaturalLanguageValuesNew()
|
||||
a.Content = NaturalLanguageValuesNew()
|
||||
a.Summary = NaturalLanguageValuesNew()
|
||||
in := OrderedCollectionNew(ID("test-inbox"))
|
||||
out := OrderedCollectionNew(ID("test-outbox"))
|
||||
liked := OrderedCollectionNew(ID("test-liked"))
|
||||
|
||||
a.Inbox = in
|
||||
a.Outbox = out
|
||||
a.Liked = liked
|
||||
a.PreferredUsername = NaturalLanguageValuesNew()
|
||||
|
||||
return &a
|
||||
|
|
Reference in a new issue