Merge branch 'master' into glitch-soc/merge-upstream

Conflicts:
	README.md

Discarded upstream changes to the README, kept our version.
This commit is contained in:
Thibaut Girka
2018-09-03 14:33:06 +02:00
67 changed files with 1726 additions and 371 deletions

View File

@@ -26,7 +26,10 @@ class ReportService < BaseService
end
def notify_staff!
return if @report.unresolved_siblings?
User.staff.includes(:account).each do |u|
next unless u.allows_report_emails?
AdminMailer.new_report(u.account, @report).deliver_later
end
end