diff options
Diffstat (limited to 'server/lib/activitypub/send')
-rw-r--r-- | server/lib/activitypub/send/send-create.ts | 2 | ||||
-rw-r--r-- | server/lib/activitypub/send/send-update.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/server/lib/activitypub/send/send-create.ts b/server/lib/activitypub/send/send-create.ts index f46317163..baded642a 100644 --- a/server/lib/activitypub/send/send-create.ts +++ b/server/lib/activitypub/send/send-create.ts | |||
@@ -116,7 +116,7 @@ function buildCreateActivity (url: string, byActor: MActorLight, object: any, au | |||
116 | type: 'Create' as 'Create', | 116 | type: 'Create' as 'Create', |
117 | id: url + '/activity', | 117 | id: url + '/activity', |
118 | actor: byActor.url, | 118 | actor: byActor.url, |
119 | object | 119 | object: audiencify(object, audience) |
120 | }, | 120 | }, |
121 | audience | 121 | audience |
122 | ) | 122 | ) |
diff --git a/server/lib/activitypub/send/send-update.ts b/server/lib/activitypub/send/send-update.ts index 3c65e19ed..bcf6e1569 100644 --- a/server/lib/activitypub/send/send-update.ts +++ b/server/lib/activitypub/send/send-update.ts | |||
@@ -134,7 +134,7 @@ function buildUpdateActivity (url: string, byActor: MActorLight, object: any, au | |||
134 | type: 'Update' as 'Update', | 134 | type: 'Update' as 'Update', |
135 | id: url, | 135 | id: url, |
136 | actor: byActor.url, | 136 | actor: byActor.url, |
137 | object | 137 | object: audiencify(object, audience) |
138 | }, | 138 | }, |
139 | audience | 139 | audience |
140 | ) | 140 | ) |