From: Eugen Rochko Date: Thu, 25 Apr 2019 00:49:06 +0000 (+0200) Subject: Fix not being able to save e-mail preference for new pending accounts (#10622) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=f27d7093513c0265010d019adc01b3f7ea02ef47;p=mastodon.git Fix not being able to save e-mail preference for new pending accounts (#10622) --- diff --git a/app/controllers/settings/notifications_controller.rb b/app/controllers/settings/notifications_controller.rb index da8a03d96..b2ce83e42 100644 --- a/app/controllers/settings/notifications_controller.rb +++ b/app/controllers/settings/notifications_controller.rb @@ -25,7 +25,7 @@ class Settings::NotificationsController < Settings::BaseController def user_settings_params params.require(:user).permit( - notification_emails: %i(follow follow_request reblog favourite mention digest report), + notification_emails: %i(follow follow_request reblog favourite mention digest report pending_account), interactions: %i(must_be_follower must_be_following must_be_following_dm) ) end