From 806c037e3bd9ad384f46864b0a099e2575ba95d5 Mon Sep 17 00:00:00 2001 From: Cory Slep Date: Sat, 1 Sep 2018 20:03:40 +0200 Subject: [PATCH] Add note to self to check Follow edge case --- pub/fed.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pub/fed.go b/pub/fed.go index 2883cab..1e350cb 100644 --- a/pub/fed.go +++ b/pub/fed.go @@ -1243,7 +1243,7 @@ func (f *federator) handleAccept(c context.Context) func(s *streams.Accept) erro for i := 0; i < raw.ObjectLen(); i++ { if raw.IsObject(i) { obj := raw.GetObject(i) - follow, ok := obj.(vocab.FollowType) + follow, ok := obj.(vocab.FollowType) // TODO: Random audit: Make sure this is correct if !ok { continue }