0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-08 17:53:55 +08:00
discourse/app/models/concerns/reports/system_private_messages.rb
2023-01-09 14:14:59 +00:00

12 lines
283 B
Ruby
Vendored

# frozen_string_literal: true
module Reports::SystemPrivateMessages
extend ActiveSupport::Concern
class_methods do
def report_system_private_messages(report)
report.icon = "envelope"
private_messages_report report, TopicSubtype.system_message
end
end
end