From c2408925a1b63bf5c3613bbfee7b4a19823f4a35 Mon Sep 17 00:00:00 2001 From: Bat Date: Thu, 3 May 2018 23:47:33 +0100 Subject: [PATCH] Add to and cc to Create --- src/activity_pub/activity.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/activity_pub/activity.rs b/src/activity_pub/activity.rs index ef62893c..0532efae 100644 --- a/src/activity_pub/activity.rs +++ b/src/activity_pub/activity.rs @@ -89,7 +89,9 @@ impl Activity for Create { "id": self.id, "actor": self.actor, "object": self.object, - "published": self.date.to_rfc3339() + "published": self.date.to_rfc3339(), + "to": self.object["to"], + "cc": self.object["cc"] }) } }