5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-18 02:26:24 +00:00

fix: algunas actividades no tienen destinatarie

This commit is contained in:
f 2024-02-21 15:44:29 -03:00
parent ddaee30da7
commit d98f893a71
No known key found for this signature in database

View file

@ -149,7 +149,6 @@ module Api
raise '@context missing' unless activity[:@context].presence
raise 'id missing' unless activity[:id].presence
raise 'object missing' unless activity[:object].presence
raise 'not for us' unless [activity[:to]].flatten.include?(site.social_inbox.actor_id)
rescue RuntimeError => e
raise ActiveRecord::RecordNotFound, e.message
end