Fix #6657 - Use target instead of origin in Remove activity (#6664)

This commit is contained in:
Eugen Rochko
2018-03-07 03:54:46 +01:00
committed by GitHub
parent 913a38111f
commit e6520c0270
3 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@ RSpec.describe ActivityPub::Activity::Remove do
type: 'Add',
actor: ActivityPub::TagManager.instance.uri_for(sender),
object: ActivityPub::TagManager.instance.uri_for(status),
origin: sender.featured_collection_url,
target: sender.featured_collection_url,
}.with_indifferent_access
end