[JDEV] Offline Messages to a specific resource...
Pete Chown
1 at 234.cx
Mon Oct 21 10:44:53 CDT 2002
Hi Ritu,
> I tried sending a message with a specific resource when the user is
> offline, but discovered that the message is shown to the user even if
> he logs on with a different resource.
This behaviour is "by design". ;-) Section eight, "Routing and Delivery
Guidelines", in draft-miller-xmpp-im-00, gives the rules for message
routing. The first choice is to deliver to a JID that matches exactly.
If there is no such JID logged on, the server will fall back to the
second choice, delivery to a JID which matches apart from the resource.
When there are no resources logged on, neither choice will be possible.
As soon as a partially matching JID logs on, the second choice becomes
possible and the message will be delivered.
--
Pete
More information about the JDev
mailing list