I'm using the latest eJabberd from svn.
I have multiple subscriptions to same node (or it's parents). So, when I receive a notification, SHIM headers are included but with wrong syntax.
Here's what I get:
<message from="pubsub.larzac.org" to="toto@larzac.org" >
<event xmlns="http://jabber.org/protocol/pubsub#event">
<items node="/tmp/test1" >
<item id="test1.1" >
(...)
</item>
</items>
</event>
<header name="Collection" >/tmp</header>
<header name="Collection" >/tmp/test1</header>
</message>
I think the two header should be wrapped into <headers xmlns='http://jabber.org/protocol/shim'>, according to XEP-0131
Try this small patch
I wrote this small patch. If you confirm it works correctly, I'll report it to the PubSub experts for inclusion in SVN.
it works
Thank you, it works just fine for me, I think you can submit the patch.
Ok, patch applied to SVN.
Ok, patch applied to SVN.