Changes
1 changed files (+8/-0)
-
-
@@ -194,8 +194,12 @@ func ActorNew(id ObjectID, typ ActivityVocabularyType) *Actor {a.Content = make(NaturalLanguageValue) a.Summary = make(NaturalLanguageValue) in := InboxNew() out := OutboxNew() liked := LikedNew() a.Inbox = InboxStream(*in) a.Outbox = OutboxStream(*out) a.Liked = LikedCollection(*liked) a.PreferredUsername = make(NaturalLanguageValue, 0) return &a
-
@@ -354,3 +358,7 @@ func (p Person) GetID() ObjectID {func (p Person) GetType() ActivityVocabularyType { return p.Type } func (p Person) GetLink() URI { return p.URL.(URI) }
-