Update app/lib/activitypub/activity.rb

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Angus McLeod 2023-10-24 20:24:17 +08:00 committed by GitHub
parent f02b006151
commit f2103d1290
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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