summaryrefslogtreecommitdiff
path: root/internal/federation/dereferencing
diff options
context:
space:
mode:
Diffstat (limited to 'internal/federation/dereferencing')
-rw-r--r--internal/federation/dereferencing/status_permitted.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/federation/dereferencing/status_permitted.go b/internal/federation/dereferencing/status_permitted.go
index 65251ed55..848a821d1 100644
--- a/internal/federation/dereferencing/status_permitted.go
+++ b/internal/federation/dereferencing/status_permitted.go
@@ -265,7 +265,7 @@ func (d *Dereferencer) isPermittedReply(
)
}
- if replyable.Permitted() &&
+ if replyable.AutomaticApproval() &&
!replyable.MatchedOnCollection() {
// Reply is permitted and match was *not* made
// based on inclusion in a followers/following
@@ -569,7 +569,7 @@ func (d *Dereferencer) isPermittedBoost(
return false, nil
}
- if boostable.Permitted() &&
+ if boostable.AutomaticApproval() &&
!boostable.MatchedOnCollection() {
// Booster is permitted to do this
// interaction, and didn't match on