Evan Prodromou
Evan Prodromou
It's also worth noting that many systems use a flat commenting/replying hierarchy, so everything would be inReplyTo Note1.
We've seen this problem before. I agree; I think it's a problem with the spec. We should probably publish an erratum.
@puckipedia had an objection to this based on typing certain properties as IDs. If we add aliases for properties, will that solve the problem?
Also, can we get 2 examples of using this namespace? I know Mastodon does. Any others?
@gobengo thanks for the PR. I believe that the type is left out of those examples on purpose. I need to confirm with @jasnell and make sure it's right to...
We would probably want to have a dedicated verb, like Suspend. ```javascript { "@context": "https://www.w3.org/ns/activitystreams", "type": "Suspend", "actor": { "id": "https://acme.example/", "name" : "Acme Social Network Service", "type": "Service" },...
Another possible verb might be `Flag`.
For some systems, having an admin or a moderator as the actor might be OK, too.
@ThibG one way to validate is if actor.id === object.provider. Also, y'know, fetching the object and seeing if "suspended" is set.
Dangit! `provider` is an AS1 property that didn't make the cut for AS2. I think either `generator` or `context` might be good here.