Here's the exchange (uuidx instances were actually real UUIDs)...<br><br>Subscriber (several slave@localhost/uuidx are already subscribed):<br><br><iq from='slave@localhost/uuid2' to='pubsub.localhost'<br>
type='set' id='5284' xmlns='jabber:client'><br> <pubsub xmlns='<a href="http://jabber.org/protocol/pubsub">http://jabber.org/protocol/pubsub</a>'><br> <subscribe node='slave' jid='slave@localhost/uuid2'/><br>
</pubsub></iq><br><br><iq xmlns='jabber:client' from='pubsub.localhost' to='slave@localhost/uuid2'<br> id='5284' type='result'><br> <pubsub xmlns='<a href="http://jabber.org/protocol/pubsub">http://jabber.org/protocol/pubsub</a>'><br>
<subscription jid='slave@localhost/uuid2' subscription='subscribed' subid='4F1CE1B16B4F'/><br></pubsub></iq><br><br>Publisher:<br><br><iq from='master@localhost/uuid1' to='pubsub.localhost'<br>
type='set' id='7562' xmlns='jabber:client'><br> <pubsub xmlns='<a href="http://jabber.org/protocol/pubsub">http://jabber.org/protocol/pubsub</a>'><br> <publish node='slave' jid='master@localhost/uuid1'><br>
<item><br> data<br></item></publish></pubsub></iq><br><br><iq xmlns='jabber:client' from='pubsub.localhost' to='master@localhost/uuid1'<br> id='7562' type='result'><br>
<pubsub xmlns='<a href="http://jabber.org/protocol/pubsub">http://jabber.org/protocol/pubsub</a>'><br> <publish node='slave'><br> <item id='4F1CB17E4C2D'/><br></publish></pubsub></iq><br>
<br>User connected as slave@localhost/uuid2 gets (no others are connected):<br><br><message xmlns='jabber:client' from='pubsub.localhost' to='slave@localhost/uuid3'><br> <headers xmlns='<a href="http://jabber.org/protocol/shim'/">http://jabber.org/protocol/shim'/</a>><br>
<event xmlns='<a href="http://jabber.org/protocol/pubsub#event">http://jabber.org/protocol/pubsub#event</a>'><br> <items node='slave'><br> <item id='4F1CE379C405'><br> data<br>
</item></items></event></message><br><br><message xmlns='jabber:client' from='pubsub.localhost' to='slave@localhost/uuid4'><br> <headers xmlns='<a href="http://jabber.org/protocol/shim'/">http://jabber.org/protocol/shim'/</a>><br>
<event xmlns='<a href="http://jabber.org/protocol/pubsub#event">http://jabber.org/protocol/pubsub#event</a>'><br> <items node='slave'><br> <item id='4F1CE379C405'><br> data<br>
</item></items></event></message><br><br><message xmlns='jabber:client' from='pubsub.localhost' to='slave@localhost/uuid5'><br> <headers xmlns='<a href="http://jabber.org/protocol/shim'/">http://jabber.org/protocol/shim'/</a>><br>
<event xmlns='<a href="http://jabber.org/protocol/pubsub#event">http://jabber.org/protocol/pubsub#event</a>'><br> <items node='slave'><br> <item id='4F1CE379C405'><br> data<br>
</item></items></event></message><br><br><message xmlns='jabber:client' from='pubsub.localhost' to='slave@localhost/uuid2'><br> <headers xmlns='<a href="http://jabber.org/protocol/shim'/">http://jabber.org/protocol/shim'/</a>><br>
<event xmlns='<a href="http://jabber.org/protocol/pubsub#event">http://jabber.org/protocol/pubsub#event</a>'><br> <items node='slave'><br> <item id='4F1CE379C405'><br> data<br>
</item></items></event></message><br><br>Node config:<br><br> 'pubsub#notify_retract': '0',<br> 'pubsub#persist_items': '0',<br> 'pubsub#publish_model': 'open',<br>
'pubsub#access_model': 'whitelist',<br> 'pubsub#send_last_published_item': 'never',<br> 'pubsub#notification_type': 'normal'<br><br><br><div class="gmail_quote">On Mon, Feb 1, 2010 at 12:02 AM, Liam <span dir="ltr"><<a href="mailto:ejabberd@networkimprov.net">ejabberd@networkimprov.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">>Make sure you're subscribing with the resource in the jid attribute<br><br>I am. One detail: the name of the node is the same as that of the user.<div>
<div></div><div class="h5"><br><br><br><div class="gmail_quote">On Sun, Jan 31, 2010 at 5:57 PM, Liam <span dir="ltr"><<a href="mailto:ejabberd@networkimprov.net" target="_blank">ejabberd@networkimprov.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">2.1.1 on WinXP...<br><br>I subscribe a user to a node twice with separate resource ids, e.g. liam@localhost/123 liam@localhost/456<br>
<br>When connected from one of those resources, a published item is delivered twice to it.<br>
<br>Bug? Misconfiguration?<br><br>
</blockquote></div><br>
</div></div></blockquote></div><br>