Skip to content

AP Remove uses wrong property for collection (!) #6657

Closed
@puckipedia

Description

This is probably a misreading of the AS2 vocabulary:

https://github.com/tootsuite/mastodon/blob/9110db41c53a2f3f22affc23b364362133997d3e/app/serializers/activitypub/remove_serializer.rb#L21-L23

https://github.com/tootsuite/mastodon/blob/9110db41c53a2f3f22affc23b364362133997d3e/app/lib/activitypub/activity/remove.rb#L5

The origin is used in the case where you want to e.g. Remove the role from a user, in a specific context. The context here is as:origin. You want to use target instead, just like in Add.


  • I searched or browsed the repo’s other issues to ensure this is not a duplicate.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions