mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 00:32:52 +08:00
FEATURE: show silence reason when viewing silenced users (#30635)
This adds the Silence Reason column to silenced user lists. This feature helps combat large spam attacks cause you can quickly see why a user was silenced and then bulk act on all the silenced users
This commit is contained in:
@ -32,7 +32,7 @@ class Admin::UsersController < Admin::StaffController
|
||||
def index
|
||||
users = ::AdminUserIndexQuery.new(params).find_users
|
||||
|
||||
opts = { include_can_be_deleted: true }
|
||||
opts = { include_can_be_deleted: true, include_silence_reason: true }
|
||||
if params[:show_emails] == "true"
|
||||
StaffActionLogger.new(current_user).log_show_emails(users, context: request.path)
|
||||
opts[:emails_desired] = true
|
||||
|
Reference in New Issue
Block a user