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

@@ -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