mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: do not explicitly show email of flagger / flagged user
This commit is contained in:
@@ -159,7 +159,7 @@ class Guardian
|
||||
end
|
||||
|
||||
def can_view_action_logs?(target)
|
||||
is_staff? && target
|
||||
target.present? && is_staff?
|
||||
end
|
||||
|
||||
# Can we approve it?
|
||||
|
||||
Reference in New Issue
Block a user