mirror of
https://github.com/mastodon/mastodon.git
synced 2024-08-20 21:08:15 -07:00
Update app/lib/activitypub/activity.rb
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
f02b006151
commit
f2103d1290
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ class ActivityPub::Activity
|
|||
|
||||
# If the boosted toot is embedded and it is a self-boost, handle it like a Create
|
||||
if !unsupported_object_type? && (object_actor_uri == @account.uri)
|
||||
virtual_object = { 'type' => 'Create', 'actor' => actor_id, 'object' => @object }
|
||||
virtual_object = { 'type' => 'Create', 'actor' => object_actor_uri, 'object' => @object }
|
||||
return ActivityPub::Activity.factory(virtual_object, @account, request_id: @options[:request_id]).perform
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue