mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-16 17:29:14 +00:00
@@ -19,7 +19,7 @@ class ActivityPub::ImageSerializer < ActiveModel::Serializer
|
|||||||
end
|
end
|
||||||
|
|
||||||
def focal_point?
|
def focal_point?
|
||||||
object.responds_to?(:meta) && object.meta['focus'].is_a?(Hash)
|
object.respond_to?(:meta) && object.meta['focus'].is_a?(Hash)
|
||||||
end
|
end
|
||||||
|
|
||||||
def focal_point
|
def focal_point
|
||||||
|
|||||||
Reference in New Issue
Block a user