discourse/app/models/reports/system_private_messages.rb

7 lines
181 B
Ruby

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