diff --git a/docker-compose.yml b/docker-compose.yml index 40572bd..ed89001 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,7 +3,7 @@ version: "3.8" services: guppe: build: . - restart: unless-stopped + restart: always ports: - 443:443 - 80:80 @@ -24,7 +24,7 @@ services: mongodb: image: mongo:4.2 - restart: unless-stopped + restart: always volumes: - mongo-data:/data/db logging: diff --git a/index.js b/index.js index 92fc8c4..39ad5c2 100644 --- a/index.js +++ b/index.js @@ -108,7 +108,9 @@ app.on('apex-inbox', async ({ actor, activity, recipient, object }) => { apex.consts.publicAddress ] 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) break