diff options
author | Fire Demon <firedemon@creature.cafe> | 2020-08-21 00:47:28 -0500 |
---|---|---|
committer | Fire Demon <firedemon@creature.cafe> | 2020-08-30 05:45:19 -0500 |
commit | 38f78fd1a2045a6641d76b12f7145f39de10ae53 (patch) | |
tree | 7fa8399c5a8b7a83603f885e5fcb8417d494adc2 /app/lib | |
parent | f073087da2cdb8c15dfc0f4b9c2a4967e4714be1 (diff) |
[Federation, Revise] Add simple retries to ActivityPub::ProcessCollectionItemsService
Diffstat (limited to 'app/lib')
-rw-r--r-- | app/lib/activitypub/activity/add.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/activitypub/activity/add.rb b/app/lib/activitypub/activity/add.rb index 688ab00b3..03b584302 100644 --- a/app/lib/activitypub/activity/add.rb +++ b/app/lib/activitypub/activity/add.rb @@ -9,6 +9,6 @@ class ActivityPub::Activity::Add < ActivityPub::Activity return unless !status.nil? && status.account_id == @account.id && !@account.pinned?(status) - StatusPin.create!(account: @account, status: status) + StatusPin.create(account: @account, status: status) end end |