diff --git a/app/controllers/admin/users_controller.rb b/app/controllers/admin/users_controller.rb index 457b049d0d8..4dba568eb55 100644 --- a/app/controllers/admin/users_controller.rb +++ b/app/controllers/admin/users_controller.rb @@ -86,6 +86,7 @@ class Admin::UsersController < Admin::AdminController suspension: { suspended: true, suspend_reason: params[:reason], + full_suspend_reason: user_history.try(:details), suspended_till: @user.suspended_till, suspended_at: @user.suspended_at } @@ -289,7 +290,7 @@ class Admin::UsersController < Admin::AdminController render_json_dump( silence: { silenced: true, - silence_reason: params[:reason], + silence_reason: silencer.user_history.try(:details), silenced_till: @user.silenced_till, suspended_at: @user.silenced_at }