Skip to content

Commit

Permalink
reduce log noise when following groups
Browse files Browse the repository at this point in the history
  • Loading branch information
dimkr committed Oct 4, 2023
1 parent e63afcf commit 92b0f85
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 @@ -267,7 +267,8 @@ func processActivity(ctx context.Context, log *slog.Logger, sender *ap.Actor, re
return errors.New("Received invalid Announce")
}
if create.Type != ap.CreateActivity {
return fmt.Errorf("Received unsupported Announce type: %s", create.Type)
log.Debug("Ignoring unsupported Announce type", "type", create.Type)
return nil
}

post, ok := create.Object.(*ap.Object)
Expand Down

0 comments on commit 92b0f85

Please sign in to comment.