Missed upstream change
This commit is contained in:
parent
326b643cf3
commit
83445ffbee
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue