From b8f7ccf22729b77fbb5a44ecda01de5329d07adc Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Sat, 21 Dec 2019 12:08:49 -0600 Subject: add option to set mutes that apply only to timelines --- app/serializers/rest/mute_serializer.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app/serializers/rest') 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 -- cgit