Hi!
I've tried to set privacy trough xmlrpc using command 'privacy_set' from mod_admin_extra with params:
$param=array(
"user"=>"user1"
,"host"=>"host"
,"xmlquery" => "<query xmlns='jabber:iq:privacy'><list name='blocked'><item type='jid' value='user2@host' action='deny' order='1'><message/><presence-out/><iq/></item></list></query>"
);
I have ejabberd 2.1.10, mod_blocking and mod_privacy_odbc installed, and as I can see in mysql db, the records were added in privacy_list and privacy_list_data tables and they are the same as when I try to block user using gajim.
But user2 still sees presence and can send messages to user1....
What am I doing wrong? Is it a problem in my modules? Or in query? Or misconfiguration on my part?
Thanks!!