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