diff --git a/src/Vervis/Federation/Offer.hs b/src/Vervis/Federation/Offer.hs index 443224e..19a611e 100644 --- a/src/Vervis/Federation/Offer.hs +++ b/src/Vervis/Federation/Offer.hs @@ -226,8 +226,8 @@ followF local <- hostIsLocal hObj return $ if local - then Nothing - else objRoute =<< decodeRouteLocal luObj + then objRoute =<< decodeRouteLocal luObj + else Nothing case mobj of Nothing -> return "Follow object unrelated to me, ignoring activity" Just obj -> do