Hello.
As XMPP-IM 11.1 states,
=======
4. Else if the JID is of the form <[EMAIL PROTECTED]> and there is at least one available resource available for the user, the recipient's server MUST follow these rules:
1. For message stanzas, the server SHOULD deliver the stanza to the highest-priority available resource.
... if the only available resource has a negative priority, the server SHOULD handle the message as if there were no available resources.
=======
I.e. message is postponed.
But what must (not _will_ since I'm talking about the theory and not the jabberd2) happen if the message originator was previously received a personal presence stanza?


F.e.:
Romeo sets negative priority for all, except Juliet:
<presence from='[EMAIL PROTECTED]'><priority>-1</priority></presence>
<presence from='[EMAIL PROTECTED]' to='[EMAIL PROTECTED]'><priority>1</priority></presence>
Juliet sends a message to Romeo:
<message from='[EMAIL PROTECTED]' to='[EMAIL PROTECTED]'><body>I love you Romeo!</body></message>
(or the reverse case - all positive except one).


In other words my question is: can be XMPP-IM describe this use case so that setting individual presence priority became possible without conflicting with already implemented behaviour?

--
Respectfully
Alexey Nezhdanov



_______________________________________________
jdev mailing list
[EMAIL PROTECTED]
https://jabberstudio.org/mailman/listinfo/jdev

Reply via email to