From 3de376650c700be81d893554b90ac8ce27646333 Mon Sep 17 00:00:00 2001 From: Fire Demon Date: Wed, 28 Oct 2020 21:22:04 -0500 Subject: Make push notifications optional --- app/models/user.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/models/user.rb') diff --git a/app/models/user.rb b/app/models/user.rb index d887f44fe..b401e3346 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -125,7 +125,7 @@ class User < ApplicationRecord :style_wide_media, :publish_in, :unpublish_in, :unpublish_delete, :boost_every, :boost_jitter, :boost_random, :unpublish_on_delete, :rss_disabled, :home_reblogs, - :filter_unknown, :max_history_public, :max_history_private, + :filter_unknown, :max_history_public, :max_history_private, :web_push, to: :settings, prefix: :setting, allow_nil: false attr_reader :invite_code, :sign_in_token_attempt -- cgit