Add To and CC on Create activities

Part of #8
pull/24/head
Matt Baer 6 years ago
parent 393f6d6834
commit c996ae1cad
  1. 2
      activitypub.go

@ -590,6 +590,8 @@ func federatePost(app *app, p *PublicPost, collID int64, isUpdate bool) error {
activity = activitystreams.NewUpdateActivity(na)
} else {
activity = activitystreams.NewCreateActivity(na)
activity.To = na.To
activity.CC = na.CC
}
err = makeActivityPost(actor, si, activity)
if err != nil {

Loading…
Cancel
Save