mirror of
https://github.com/discourse/discourse.git
synced 2024-12-03 05:33:44 +08:00
13 lines
283 B
Ruby
13 lines
283 B
Ruby
|
# 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
|