Stream Feature: Implement Roster 'push' #25
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
https://xmpp.org/rfcs/rfc6121.html#rfc.section.2.1.6
A "roster push" is a newly created, updated, or deleted roster item that is sent from the server to the client; syntactically it is an IQ stanza of type "set" sent from server to client and containing a element qualified by the 'jabber:iq:roster' namespace.
The following rules apply to roster pushes:
The element in a roster push MUST contain one and only one element.
A receiving client MUST ignore the stanza unless it has no 'from' attribute (i.e., implicitly from the bare JID of the user's account) or it has a 'from' attribute whose value matches the user's bare JID user@domainpart.
As mandated by the semantics of the IQ stanza as defined in [XMPP‑CORE], each resource that receives a roster push from the server is supposed to reply with an IQ stanza of type "result" or "error" (however, it is known that many existing clients do not reply to roster pushes).