diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-25 13:13:16 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-25 13:13:16 +0100 |
commit | 71401659b812b8768fe70aa27221e3319ee1c434 (patch) | |
tree | 6a1002f53d00866f2f79564bc979d2afe9ac715b /app/models | |
parent | e3ed212b859a7bec6b26c3d52e6f7ea14069f76d (diff) |
Fix #65 - Options to block notifications from people you don't follow/who don't follow you
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/user.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/user.rb b/app/models/user.rb index 366172e9a..423833d47 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -15,6 +15,7 @@ class User < ApplicationRecord has_settings do |s| s.key :notification_emails, defaults: { follow: false, reblog: false, favourite: false, mention: false } + s.key :interactions, defaults: { must_be_follower: false, must_be_following: false } end def send_devise_notification(notification, *args) |