Merge branch 'restarts-and-ccs'
This commit is contained in:
commit
6d9c17aaa0
2 changed files with 5 additions and 3 deletions
|
@ -3,7 +3,7 @@ version: "3.8"
|
||||||
services:
|
services:
|
||||||
guppe:
|
guppe:
|
||||||
build: .
|
build: .
|
||||||
restart: unless-stopped
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- 443:443
|
- 443:443
|
||||||
- 80:80
|
- 80:80
|
||||||
|
@ -24,7 +24,7 @@ services:
|
||||||
|
|
||||||
mongodb:
|
mongodb:
|
||||||
image: mongo:4.2
|
image: mongo:4.2
|
||||||
restart: unless-stopped
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- mongo-data:/data/db
|
- mongo-data:/data/db
|
||||||
logging:
|
logging:
|
||||||
|
|
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