Skip to content

Commit

Permalink
fix: properly detect auto approves followers
Browse files Browse the repository at this point in the history
  • Loading branch information
Mauve Signweaver committed Jun 24, 2024
1 parent 0650b60 commit d2bb2be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/apsystem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ export default class ActivityPubSystem {

const { manuallyApprovesFollowers } = await actorStore.getInfo()

const autoApproveFollow = manuallyApprovesFollowers !== undefined && manuallyApprovesFollowers
const autoApproveFollow = manuallyApprovesFollowers !== undefined && !manuallyApprovesFollowers

await actorStore.inbox.add(activity)

Expand Down

0 comments on commit d2bb2be

Please sign in to comment.