1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-11-23 14:46:45 +09:00

fix/email notification

This commit is contained in:
whippyshou 2024-07-18 03:36:15 +09:00
parent 39631e83c7
commit 7ce9daf422

View File

@ -35,15 +35,15 @@ class UserSettings
end
namespace :notification_emails do
setting :follow, default: true
setting :follow, default: false
setting :reblog, default: false
setting :favourite, default: false
setting :mention, default: true
setting :follow_request, default: true
setting :report, default: true
setting :pending_account, default: true
setting :trends, default: true
setting :appeal, default: true
setting :mention, default: false
setting :follow_request, default: false
setting :report, default: false
setting :pending_account, default: false
setting :trends, default: false
setting :appeal, default: false
setting :software_updates, default: 'critical', in: %w(none critical patch all)
end
@ -53,6 +53,7 @@ class UserSettings
setting :must_be_following_dm, default: false
end
def initialize(original_hash)
@original_hash = original_hash || {}
end