Samuel Goto a écrit :
I tried
<iq type='get' from='[EMAIL PROTECTED]' to='jabber.org' id='dico'>
<query xmlns='http://jabber.org/protocol/disco#items'/></iq>
but it doesn't work !!! Now I am doing
<iq type='get' from='[EMAIL PROTECTED]' to='jabber.org' id='dico'>
<query xmlns='http://jabber.org/protocol/disco#items'/></iq>
without the from attribute and it works !! Thanks !!!
Short explanation: don't put the 'from' yourself ; let the server do it
for you.
Long explanation: you can send a message stanza to a bare jid, but an iq
stanza must go to a full jid. The problem with your type='get' is that
its reply will have to go to 'from'... and you gave a bare jid there! If
you had set it to 'ra017335/[EMAIL PROTECTED]', it would have
worked.
PS I have chat ... but I don't have mu-chat ... haven't made myself clear ...
Ok.
JP
_______________________________________________
jdev mailing list
[email protected]
http://mail.jabber.org/mailman/listinfo/jdev