Browse Source

Missed upstream change

master
Mike Barnes 1 month ago
parent
commit
83445ffbee
  1. 2
      app/lib/activitypub/activity/add.rb

2
app/lib/activitypub/activity/add.rb

@ -6,7 +6,7 @@ class ActivityPub::Activity::Add < ActivityPub::Activity
status = status_from_object
return unless !status.nil? && status.account_id == @account.id && !@account.pinned?(status) && status.distributable?
return unless !status.nil? && status.account_id == @account.id && !@account.pinned?(status)
StatusPin.create!(account: @account, status: status)
end

Loading…
Cancel
Save