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:
parent
ddaee30da7
commit
d98f893a71
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue