Missed upstream change

This commit is contained in:
Mike Barnes 2022-06-03 18:29:41 +10:00
parent 326b643cf3
commit 83445ffbee

View file

@ -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