[ejabberd] pubsub delivery ignores /resource

Liam ejabberd at networkimprov.net
Tue Feb 2 22:52:37 MSK 2010


Peter, could you address what's specifically happening in this case, where a
single published item is sent n times to a subscriber because user at domain/*
is subscribed n times, and only one of those is present?

Seems like a classic "unintended consequence"...

On Tue, Feb 2, 2010 at 5:50 AM, Liam <ejabberd at networkimprov.net> wrote:

> > It is not anormal to receive message addressed to another resource. If
> you chat with someone
> > and disconnect from a resource, this ensure that you receive the message
>
> Seems to me that if a user subscribes with a resource, he only wants
> delivery to that resource.
>
> I can understand delivery to a non-subscribed present resource if
> subscribed at a single, non-present resource. But if a subscribed resource
> is present, it really shouldn't get duplicate messages when other resources
> are subscribed.
>
>
>
> On Tue, Feb 2, 2010 at 5:02 AM, Liam <ejabberd at networkimprov.net> wrote:
>
>> Per my xml log, I get messages with to="u at domain/1" (etc) when connected
>> as u at domain/2. That HAS to be a bug.
>>
>> Presence-based delivery won't deliver items when a subscriber is offline,
>> so that doesn't help me.
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20100202/4bcbd77b/attachment.html>


More information about the ejabberd mailing list