about summary refs log tree commit diff
path: root/app/models
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-05-04 19:25:58 -0500
committermultiple creatures <dev@multiple-creature.party>2019-05-21 03:16:22 -0500
commit992218f05f76106857f2cb5a72c0bb4510aa4563 (patch)
tree11b1f7636e09abd48f72d6a4a611dc1ae8b90d9b /app/models
parent545330dc657e78ee17bb58b094328054380eeb4f (diff)
Anxiety reduction: add option to hide mascot.
Diffstat (limited to 'app/models')
-rw-r--r--app/models/user.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/models/user.rb b/app/models/user.rb
index b4328afcb..95d2e6ffb 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -121,6 +121,7 @@ class User < ApplicationRecord
     :hide_mntions_packm8,
     :gently_kobolds,
     :user_is_kobold,
+    :hide_mascot,
 
     :auto_play_gif,
     :default_sensitive,
@@ -275,6 +276,10 @@ class User < ApplicationRecord
     settings.user_is_kobold || false
   end
 
+  def setting_hide_mascot
+    settings.hide_mascot || false
+  end
+
   def setting_default_privacy
     settings.default_privacy || 'public'
   end