-
Notifications
You must be signed in to change notification settings - Fork 87
Description
It's never mentioned that activities can be distributed to actors on the same origin without having to resort to an HTTP POST. I guess anyone could figure this out if they wanted to, so it probably doesn't matter.
But these bits are awkward because of it:
Servers MUST de-duplicate the final recipient list. Servers MUST also exclude actors from the list which are the same as the actor of the Activity being notified about. That is, users shouldn't have their own activities delivered to themselves.
An HTTP POST request (with authorization of the submitting user) is then made to to the inbox, with the Activity as the body of the request. This Activity is added by the receiver as an item in the inbox OrderedCollection.
That first paragraph's MUST around excluding the actor which is the same as the actor from the activity is maybe strange... an actor's own activity may realistically end up in their own inbox, if we consider how Twitter or Facebook or nearly anything have it so that your own posts end up visible in your own stream.