about summary refs log tree commit diff
path: root/app/models
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-04-18 01:25:50 +0200
committerEugen Rochko <eugen@zeonfederated.com>2017-04-18 01:25:50 +0200
commit57d784f1e454af5500b608b7a3fd1452ecbb9e6a (patch)
treeb9c4330970b1d2a62a2d41b90a6d03e2bc303b38 /app/models
parent16d50f60d1f802ee7760ca24883df2ed5a8f4ac0 (diff)
parentffb99325cafb5b00ee652c6b3ed2811a4d643fc8 (diff)
Merge branch 'pause-gif' of git://github.com/patf/mastodon into patf-pause-gif
Diffstat (limited to 'app/models')
-rw-r--r--app/models/user.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/user.rb b/app/models/user.rb
index 110b52aa9..cd1f816ca 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -30,4 +30,8 @@ class User < ApplicationRecord
   def setting_boost_modal
     settings.boost_modal
   end
+
+  def setting_auto_play_gif
+    settings.auto_play_gif
+  end
 end