Removed initializing the inbox, outbox, liked collections in NewActor

This commit is contained in:
Marius Orcsik 2022-06-12 11:58:08 +02:00
parent d23c21aea0
commit 4c61caf651
No known key found for this signature in database
GPG key ID: DBF5E47F5DBC4D21

View file

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