discourse/app/models/concerns/reports/notify_user_private_message...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
289 B
Ruby
Raw Normal View History

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