Skip to content

Commit

Permalink
reduce log noise
Browse files Browse the repository at this point in the history
  • Loading branch information
dimkr committed Oct 14, 2023
1 parent 1867fb2 commit 21c5bfd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion inbox/queue.go
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,8 @@ func processActivity(ctx context.Context, log *slog.Logger, sender *ap.Actor, re
if !ok {
if a, ok := req.Object.(*ap.Activity); ok {
if a.Type != ap.FollowActivity {
return errors.New("Received a request to undo a non-Follow activity")
log.Debug("Ignoring request to undo a non-Follow activity")
return nil
}

followID = a.ID
Expand Down

0 comments on commit 21c5bfd

Please sign in to comment.