[ejabberd] pubsub delivery ignores /resource

Mickaël Rémond mickael.remond at process-one.net
Tue Feb 2 17:59:57 MSK 2010

Hello Peter,

Le 2 févr. 2010 à 15:54, Peter Saint-Andre a écrit :

> Hi Mickaël!
> As I understand XEP-0060, if the subscriber JID is user at host/resource
> then the pubsub service will address notifications to that full JID. If
> the node is not configured for presence-based delivery then the pubsub
> service will simple send the notification to the full JID. The
> subscriber's XMPP server is then responsible for delivering the
> notification in accordance with RFC 3920 and RFC 3921. That *might* mean
> the notification ends up being delivered to a different resource.
> There's no real solution for that at the pubsub service unless the
> subscription is configured for presence-based delivery. Even then,
> presence is not fully reliable, as we know. Naturally, if the subscriber
> doesn't want to receive the notification at another resource then it
> needs to ensure that the intended resource is always online. That's not
> always possible, either. These are some of the tradeoffs involved in
> pubsub. :|

That's what I guessed as well so I think we are on the same page.
It seems that we are compliant on this regard, but I will cross check with Christophe when he is back.

Thank you for your clarification !

Mickaël Rémond

More information about the ejabberd mailing list