[JDEV] bug in mod_privacy ?
Xfigio
jdev at rhinosw.com
Wed Jan 7 17:04:06 CST 2004
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: jdev-admin at jabber.org [mailto:jdev-admin at jabber.org] On Behalf Of
Alexey Nezhdanov
Sent: Wednesday, 7 January 2004 8:18 PM
To: jdev at jabber.org
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='snake at woody8.penza-gsm.ru'
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
jdev at jabber.org
http://mailman.jabber.org/listinfo/jdev
More information about the JDev
mailing list