Skip to content

Commit

Permalink
Merge branch 'restarts-and-ccs'
Browse files Browse the repository at this point in the history
  • Loading branch information
wmurphyrd committed Jan 1, 2022
2 parents 57ac22f + 55b17b1 commit 6d9c17a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: "3.8"
services:
guppe:
build: .
restart: unless-stopped
restart: always
ports:
- 443:443
- 80:80
Expand All @@ -24,7 +24,7 @@ services:

mongodb:
image: mongo:4.2
restart: unless-stopped
restart: always
volumes:
- mongo-data:/data/db
logging:
Expand Down
4 changes: 3 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6d9c17a

Please sign in to comment.