discourse/app/models/reports/moderator_warning_private_m...

7 lines
195 B
Ruby
Raw Normal View History

# frozen_string_literal: true
Report.add_report("moderator_warning_private_messages") do |report|
report.icon = 'envelope'
private_messages_report report, TopicSubtype.moderator_warning
end