From abfd0c107c8003ba06a118625c49d22df553696f Mon Sep 17 00:00:00 2001 From: Fire Demon Date: Fri, 14 Aug 2020 02:41:44 -0500 Subject: [Command Tags] Add #!notify toggle to allow toggling whether or not a post should be locally delivered to timelines/notifications --- app/serializers/rest/status_serializer.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'app/serializers') diff --git a/app/serializers/rest/status_serializer.rb b/app/serializers/rest/status_serializer.rb index 96ae59c62..8578775c4 100644 --- a/app/serializers/rest/status_serializer.rb +++ b/app/serializers/rest/status_serializer.rb @@ -23,6 +23,7 @@ class REST::StatusSerializer < ActiveModel::Serializer attribute :published if :local? attribute :hidden, if: :current_user? attribute :conversation_hidden, if: :current_user? + attribute :notify, if: :locally_owned? belongs_to :reblog, serializer: REST::StatusSerializer belongs_to :application, if: :show_application? -- cgit