mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-28 09:18:55 +08:00
12 lines
289 B
Ruby
Vendored
12 lines
289 B
Ruby
Vendored
# 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
|