[ejabberd] ejabberd and XEP-0133

Peter Saint-Andre stpeter at stpeter.im
Thu May 22 22:18:49 MSD 2008


On 05/22/2008 12:18 PM, Badlop wrote:
> On Thu, May 22, 2008 at 7:24 PM, Sean Dilda <sean at duke.edu> wrote:
>> For the initial stanza, Psi is setting the type on the Iq to 'set' while
>> the XEP specifies 'get', which is what I was doing.  When I changed to
>> 'set', everything started working.  This is looking like a bug (in
>> ejabberd and psi) to me.
> 
> I tested Tkabber SVN and Gajim 0.11.4: all use 'set'.
> 
> All the examples in XEP-0133 include 'get'.
> I checked in SVN that this part of the XEP [1] was not modified in
> several years.
> 
> If you check XEP-0050, it clearly says several times that 'set' must
> be used to execute a command:
>> <iq type='set' to='responder at domain' id='exec1'>
>>   <command xmlns='http://jabber.org/protocol/commands'
>>            node='list'
>>            action='execute'/>
>> </iq>
> 
> So, i think 'set' is the correct way to do it, and the bug is in
> XEP-0133 itself.
> 
> I've contacted the author of XEP-0133 for clarification: he agrees and
> will fix the protocol.

http://svn.xmpp.org:18080/browse/XMPP/trunk/extensions/xep-0133.xml?r1=1171&r2=1861

/psa

-- 
Peter Saint-Andre
https://stpeter.im/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 7338 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.jabber.ru/pipermail/ejabberd/attachments/20080522/cc8f687d/attachment-0001.bin 


More information about the ejabberd mailing list