[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xmpp] 3921bis: delivery of messages addressed to bare JIDs



On 1/28/10 5:18 PM, Peter Saint-Andre wrote:
Currently some XMPP services broadcast messages addressed to a bare JID
instead of delivering those messages only to the highest-priority
resource(s). The highest-priority rule is a legacy of the original
jabberd 1.x codebase and I don't see a strong reason to forbid other
message delivery styles. Therefore I propose a change to Section 8.3.1.1
of 3921bis.

The relevant text in -03 reads:

    For a message stanza of type "chat" or "normal", the server SHOULD
    deliver the stanza to the highest-priority available resource.

(Followed by text about delivery ties.)

I propose the following text for -04:

    For a message stanza of type "chat" or "normal", the server MUST
    either (a) deliver the stanza to all available resources or (b)
    deliver the stanza to the highest-priority available resource.

(Again followed by text about delivery ties in case (b).)

Thoughts?


For what it's worth, I really like this change. Speaking merely as a user of XMPP (not an implementor), I have often wished it possible to configure XMPP servers to perform message broadcast instead of priority routing for messages sent to my bare JID. Initial message routing among the several devices I may be logged in on has been a constant thorn in my side.

/a

Note Well: Messages sent to this mailing list are the opinions of the senders and do not imply endorsement by the IETF.