mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-12-22 13:17:13 +00:00
parent
c71aa468b5
commit
755aad534a
|
@ -19,7 +19,7 @@ class ActivityPub::ImageSerializer < ActiveModel::Serializer
|
|||
end
|
||||
|
||||
def focal_point?
|
||||
object.responds_to?(:meta) && object.meta['focus'].is_a?(Hash)
|
||||
object.respond_to?(:meta) && object.meta['focus'].is_a?(Hash)
|
||||
end
|
||||
|
||||
def focal_point
|
||||
|
|
Loading…
Reference in a new issue