Dont send email notifications to banned users (fixes #1251) #126
Loading…
Reference in New Issue
No description provided.
Delete Branch "dont-email-banned-user"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Havent tested this yet.
I'd rather do this instead: https://github.com/LemmyNet/lemmy/issues/1255
Reason, a banned user might want to remove their email, matrix id, change their bio to remove identifying info, etc.
Regardless, there is no reason to send an email notification to a user who is banned and cant reply to the comment anyway. And I'm sure that not everyone is going to manually remove their email after being banned (they might not know that its possible).
I forgot to do the same change for private message notifications, best squash before merging.
Gotcha, I agree, plus you cleaned up my repeated code here too.