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 baded642a..f46317163 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: audiencify(object, audience) | 119 | object |
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 bcf6e1569..3c65e19ed 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: audiencify(object, audience) | 137 | object |
138 | }, | 138 | }, |
139 | audience | 139 | audience |
140 | ) | 140 | ) |