5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-27 01:46:22 +00:00

fix: soportar flags

This commit is contained in:
f 2024-03-01 16:47:11 -03:00
parent 163f3fa737
commit 4bef309621
No known key found for this signature in database

View file

@ -91,6 +91,7 @@ module Api
def object_uri
@object_uri ||=
case original_activity[:object]
when Array then original_activity[:object].first
when String then original_activity[:object]
when Hash then original_activity.dig(:object, :id)
end