[Standards-JIG] iq for ibb

Maciek Niedzielski machekku at uaznia.net
Tue Dec 5 23:19:06 UTC 2006


Peter Saint-Andre wrote:
> Maciek Niedzielski wrote:
>> Mridul wrote:
>>>  Since iq has also been introduced for ibb recently
>>> (http://www.jabberstudio.org/cgi-bin/viewcvs.cgi/cvs/xmpp/extensions/xep-0047.xml?r1=1.2&r2=1.4),
>>> is there any way for client to declare that they prefer or support one
>>> over other ? None of the older clients are going to understand iq ibb
>>> stanzas for example : same for servers.
>> Other idea to solve this at the implementation level:
>>
>> If I try sending iq, but other peer doesn't support them, it returns
>> feature-not-implemented. Then I can retry sending a message.
> 
> Well a good XMPP application should already return such an error (either
> feature-not-implemented or service-unavailable). That's why IQ is so
> nice. :-)

Yes, I know, and that's how my solution works: Everyone implementing new
version of the XEP should be prepared to get this error and treat is as
"please switch to messages".

-- 
Maciek                       A: It's against natural order of reading.
 xmpp:machekku at uaznia.net   Q: Why is that?
 xmpp:machekku at chrome.pl   A: People answering above quoted text.
                          Q: What's the most annoying on newsgroups?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 257 bytes
Desc: OpenPGP digital signature
URL: <http://mail.jabber.org/pipermail/standards/attachments/20061206/27a68943/attachment.sig>


More information about the Standards mailing list