Fix linter

This commit is contained in:
Darius Kazemi 2023-01-02 14:08:45 -08:00
parent ad27ebf327
commit c7b321d5ad
1 changed files with 1 additions and 3 deletions

View File

@ -108,9 +108,7 @@ class ActivityPub::NoteSerializer < ActivityPub::Serializer
object.account.sensitized? || object.sensitive
end
def local_only
object.local_only
end
delegate :local_only, to: :object
def virtual_attachments
object.ordered_media_attachments