[jdev] Privacy feature

Alexey Nezhdanov snake at penza-gsm.ru
Sun Feb 5 05:54:18 CST 2006


В сообщении от Воскресенье 05 Февраль 2006 14:09 Trejkaz написал(a):
> On Sunday 05 February 2006 21:52, Michal Vaner (Vorner) wrote:
> > > So basically what you're saying is, the only way to find out is to try
> > > and then get an error
I propose next logic:
1) Since only 100% XMPP compliant servers can declare "version='1.0'" in the 
stream header so decide on it. If there _is_ such attribute then privacy 
lists are supported.
2) If server have no "version='1.0'" attribute - then look to advertised 
features.

This method is quite complying standart IMHO.

-- 
Respectfully
Alexey Nezhdanov




More information about the JDev mailing list