5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-10-10 02:16:57 +00:00

Merge branch 'issue-15109-1' of https://0xacab.org/sutty/sutty into production.panel.sutty.nl

This commit is contained in:
Sutty 2024-03-16 19:37:58 +00:00
commit 95614df6fa

View file

@ -11,9 +11,7 @@ class ActivityPub
class Follow < ActivityPub::Activity class Follow < ActivityPub::Activity
# Auto-aprobar la solicitud de seguimiento # Auto-aprobar la solicitud de seguimiento
def update_activity_pub_state! def update_activity_pub_state!
activity_pub.approve! activity_pub.approve! if activity_pub.may_approve?
rescue Exception => e
ExceptionNotifier.notify_exception(e, data: { site: activity_pub.site.name, activity: self.id })
end end
end end
end end