mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Skip sending PM email for user silence (#12240)
We were sending 2 emails for user silencing if a message was provided in the UI. Also always send email for user silence and user suspend with reason regardless of whether message provided.
This commit is contained in:
@@ -3643,9 +3643,7 @@ en:
|
||||
text_body_template: |
|
||||
You have been suspended from the forum until %{suspended_till}.
|
||||
|
||||
%{reason}
|
||||
|
||||
%{message}
|
||||
Reason - %{reason}
|
||||
|
||||
account_silenced:
|
||||
title: "Account Silenced"
|
||||
@@ -3653,9 +3651,7 @@ en:
|
||||
text_body_template: |
|
||||
You have been silenced from the forum until %{silenced_till}.
|
||||
|
||||
%{reason}
|
||||
|
||||
%{message}
|
||||
Reason - %{reason}
|
||||
|
||||
account_exists:
|
||||
title: "Account already exists"
|
||||
|
||||
Reference in New Issue
Block a user