cc to poster in case they aren't in followers yet

This commit is contained in:
Will Murphy 2022-01-01 16:29:11 -06:00
parent 8ce1860386
commit 55b17b19c9

View file

@ -108,7 +108,9 @@ app.on('apex-inbox', async ({ actor, activity, recipient, object }) => {
apex.consts.publicAddress apex.consts.publicAddress
] ]
const share = await apex.buildActivity('Announce', recipient.id, to, { const share = await apex.buildActivity('Announce', recipient.id, to, {
object: activity.object[0].id object: activity.object[0].id,
// make sure sender can see it even if they don't follow yet
cc: actor.id
}) })
apex.addToOutbox(recipient, share) apex.addToOutbox(recipient, share)
break break