about summary refs log tree commit diff
path: root/app/serializers
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-07-19 12:10:14 -0500
committerFire Demon <firedemon@creature.cafe>2020-08-30 05:43:08 -0500
commita34ccaef8d22110fc9926702ee9c5b06388c13fb (patch)
treed0ad77949883243d53c19d173a1de51467ac9336 /app/serializers
parent86733d97efac4886b0bf8c0a4ee8c645076eb1e7 (diff)
[Feature] Add timeline-only mutes
Diffstat (limited to 'app/serializers')
-rw-r--r--app/serializers/rest/mute_serializer.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/serializers/rest/mute_serializer.rb b/app/serializers/rest/mute_serializer.rb
index 043a2f059..db33f8574 100644
--- a/app/serializers/rest/mute_serializer.rb
+++ b/app/serializers/rest/mute_serializer.rb
@@ -2,8 +2,8 @@
 
 class REST::MuteSerializer < ActiveModel::Serializer
   include RoutingHelper
-  
-  attributes :id, :account, :target_account, :created_at, :hide_notifications
+
+  attributes :id, :account, :target_account, :created_at, :hide_notifications, :timelines_only
 
   def account
     REST::AccountSerializer.new(object.account)
@@ -12,4 +12,4 @@ class REST::MuteSerializer < ActiveModel::Serializer
   def target_account
     REST::AccountSerializer.new(object.target_account)
   end
-end
\ No newline at end of file
+end