Fix linter
This commit is contained in:
parent
ad27ebf327
commit
c7b321d5ad
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue