coralproject / talk

A better commenting experience from Vox Media
https://coralproject.net
Other
1.89k stars 354 forks source link

DSA notifications: stop double notifying rejected comment during illegal report decisions #4412

Closed nick-funk closed 11 months ago

nick-funk commented 11 months ago

What does this PR do?

Prevents the reject comment flow when determining a comment is illegal from posting a second notification. We already post an illegal comment rejection, so we don't need the rejectComment function doing it again for us.

These changes will impact:

What changes to the GraphQL/Database Schema does this PR introduce?

None

Does this PR introduce any new environment variables or feature flags?

No

If any indexes were added, were they added to INDEXES.md?

None

How do I test this PR?

Where any tests migrated to React Testing Library?

No

How do we deploy this PR?