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:
@@ -60,6 +60,10 @@ class Report < ApplicationRecord
|
||||
!action_taken?
|
||||
end
|
||||
|
||||
def unresolved_siblings?
|
||||
Report.where.not(id: id).where(target_account_id: target_account_id).unresolved.exists?
|
||||
end
|
||||
|
||||
def history
|
||||
time_range = created_at..updated_at
|
||||
|
||||
|
@@ -224,6 +224,10 @@ class User < ApplicationRecord
|
||||
settings.notification_emails['digest']
|
||||
end
|
||||
|
||||
def allows_report_emails?
|
||||
settings.notification_emails['report']
|
||||
end
|
||||
|
||||
def hides_network?
|
||||
@hides_network ||= settings.hide_network
|
||||
end
|
||||
|
Reference in New Issue
Block a user