mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Add raw post content in "flagged post removed by staff" PM
This commit is contained in:
@@ -232,6 +232,7 @@ class PostDestroyer
|
||||
user_id: @post.user_id,
|
||||
message_type: :flags_agreed_and_post_deleted,
|
||||
message_options: {
|
||||
flagged_post_raw_content: @post.raw,
|
||||
url: @post.url,
|
||||
flag_reason: I18n.t(
|
||||
"flag_reasons.#{@post.active_flags.last.post_action_type.name_key}",
|
||||
|
Reference in New Issue
Block a user