Only send rejected comment notifications if DSA is enabled.
These changes will impact:
[x] commenters
[ ] moderators
[ ] admins
[ ] developers
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?
n/a
How do I test this PR?
Reject comments by a user with DSA enabled and not enabled. See that when enabled, you get a notification as that user. When disabled, you should not get a notification as that user.
What does this PR do?
Only send rejected comment notifications if DSA is enabled.
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
?n/a
How do I test this PR?
Reject comments by a user with DSA enabled and not enabled. See that when enabled, you get a notification as that user. When disabled, you should not get a notification as that user.
Were any tests migrated to React Testing Library?
How do we deploy this PR?