cc to poster in case they aren't in followers yet
This commit is contained in:
parent
8ce1860386
commit
55b17b19c9
1 changed files with 3 additions and 1 deletions
4
index.js
4
index.js
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue