Hello,
I think that the packet to get the comments on a node is wrong.
The web client sends somthing like:
<iq type="get" to="mremond@localhost" id="osw_6"
from="mremond@localhost/1296928155094"><pubsub xmlns="http://
jabber.org/protocol/pubsub"><items xmlns="
http://jabber.org/protocol/
pubsub" node="urn:xmpp:microblog:0:replies:item=urn:uuid:76668daa-
cfbf-44df-ad35-c5d7e6bbb23c"><item xmlns="
http://jabber.org/protocol/
pubsub" id="urn:uuid:76668daa-cfbf-44df-ad35-c5d7e6bbb23c" /></items></
pubsub></iq>
The node is the item you are replying to:
urn:xmpp:microblog:0:replies:item=urn:uuid:76668daa-cfbf-44df-ad35-
c5d7e6bbb23c
It cannot be the same as the id you are looking (on the item tag):
urn:uuid:76668daa-cfbf-44df-ad35-c5d7e6bbb23c
Currently, in ejabberd implementation we make an ugly case to ignore
the id on the item tag especially for queries on reply node, but I
think it need to be change.
Am I missing something ?
--
Mickaël Rémond
http://www.process-one.net