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 object.account.sensitized? || object.sensitive
end end
def local_only delegate :local_only, to: :object
object.local_only
end
def virtual_attachments def virtual_attachments
object.ordered_media_attachments object.ordered_media_attachments