Hi Alexey My understanding is that iq:privacy is pretty much useless atm. At least it was in jabberd2. And have been told that it hasn't been fixed for jabberd2s1. If it has been sorted I'd be delighted.
Basically the problem I ran into was setting an ignore roster group did nothing, while setting an ignore jid ignored everything to all roster contacts. You'll probably also see the timeout when deleting a privacy list. Xfigio -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alexey Nezhdanov Sent: Wednesday, 7 January 2004 8:18 PM To: [EMAIL PROTECTED] Subject: [JDEV] bug in mod_privacy ? Testing privacy lists handling with xmpppy and jabberd2s1: It seems that server return "all info at once" with lists list request and ingnores a particular info request: Example 1, requesting privacy lists list from server: python code: print getPrivacyLists(m) debug output: DEBUG: socket sent <iq id='7' type='get'><query xmlns='jabber:iq:privacy' /></iq> DEBUG: socket got <iq xmlns='jabber:client' id='7' type='result'><query xmlns='jabber:iq:privacy'><list name='test'><item order='6' action='allow' value='[EMAIL PROTECTED]' type='jid'/></list></query></iq> {'lists': [u'test']} Example 2, requesting privacy list "test" from server: python code: print getPrivacyList(m,'test') debug output: DEBUG: socket sent <iq id='8' type='get'><query xmlns='jabber:iq:privacy'><list name='test' /></query></iq> None ---- The second case waits for some time before timeout expires. Even if I read the socket after several minutes - there is no result. -- Alexey Nezhdanov _______________________________________________ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev _______________________________________________ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev
