summaryrefslogtreecommitdiff
path: root/internal/federation/federatingdb/accept.go
diff options
context:
space:
mode:
authorLibravatar tsmethurst <tobi.smethurst@klarrio.com>2021-09-03 10:30:40 +0200
committerLibravatar tsmethurst <tobi.smethurst@klarrio.com>2021-09-03 10:30:40 +0200
commita1166768149ef9d6c948c73b07190008e3207999 (patch)
treeef1810c6507c148efc802747b3fdbb06ee35186b /internal/federation/federatingdb/accept.go
parentreadme typo (diff)
downloadgotosocial-a1166768149ef9d6c948c73b07190008e3207999.tar.xz
Review changes
Diffstat (limited to 'internal/federation/federatingdb/accept.go')
-rw-r--r--internal/federation/federatingdb/accept.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/federation/federatingdb/accept.go b/internal/federation/federatingdb/accept.go
index ceaf4c4ef..477c5e8b9 100644
--- a/internal/federation/federatingdb/accept.go
+++ b/internal/federation/federatingdb/accept.go
@@ -118,7 +118,7 @@ func (f *federatingDB) Accept(ctx context.Context, accept vocab.ActivityStreamsA
}
switch iter.GetType().GetTypeName() {
// we have the whole object so we can figure out what we're accepting
- case string(ap.ActivityFollow):
+ case ap.ActivityFollow:
// ACCEPT FOLLOW
asFollow, ok := iter.GetType().(vocab.ActivityStreamsFollow)
if !ok {