about summary refs log tree commit diff
path: root/app/lib/activitypub/activity/add.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/lib/activitypub/activity/add.rb')
-rw-r--r--app/lib/activitypub/activity/add.rb2
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