Open silverpill opened 1 month ago
Mm, we could probably do the target
option (so, option 2) without causing too many difficulties, that one makes the most sense to me. That said, is "Replies" actually a type? I can't seem to find it in the specs.
No, there is no such type yet. But I could formally propose it through the FEP process.
Overall, do you think this kind of type hinting with partial embeddings could be beneficial to GoToSocial? There are other cases where it can be used: Undo
(are we undoing Follow
or Accept
?) and Add
(to what collection we are adding object?).
Is your feature request related to a problem ?
GoToSocial sends
Accept
(orReject
) activity when it processes a reply, but these activities look very similar toAccept(Follow)
activities. Example:What is the recommended approach to determining the type of
object
of this activity?Describe the solution you'd like.
It would be nice to have some indicator.
Option 1. Object ID can be replaced with a partial representation:
Then:
Option 2.
Accept
activity can have atarget
property:Describe alternatives you've considered.
Activity sub-type can be determined by object ID alone, but that requires URL path parsing or additional database queries.
Additional context.
No response