Dirk Meyer wrote:
Peter Saint-Andre wrote:
Dirk Meyer wrote:
Peter Saint-Andre wrote:
So you are suggesting that a message addressed to a full JID would
never be delivered to another resource (or stored offline?) if that
resource does not exist. Correct? I hadn't considered that option.
[...]
A message that is addressed to a resource with a negative priority is
delivered to that resource. The only thing that negative priority does
is prohibit delivery to that resource if the message was addressed to
the bare JID, not the full JID.

Interessting question. What should happen if you send a message to the
full JID of a resource that does not exist anymore. And to combine it
with a negative priority: what happens if that resource had a negative
priority before indicating non-chat.
1. Discard? Always a bad idea without letting the sender know.
2. Store? Possible, but may not make any sense. Depends on the
   context.
3. Send to someone else? Makes no sense in some contexts? If I have a
   message based IBB a different receiver can not handle it.

Right now the spec says that you treat it as if the message was addressed to the bare JID. If you want fancier delivery handling, you need to use Advanced Message Processing (XEP-0079). For example the IBB spec says you'd want to use AMP for just the reason you cite.

/psa

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to