Hi,
   I tried to block a user by sending the fallowing stanza.
--
SEND:
-----------------------------------
<iq type="set" id="41221701208"> <query xmlns="jabber:iq:privacy"> <list name="Example"> <item order="3" action="deny" group="myfriends" jid="[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>" xmlns="jabber:iq:privacy"> <message></message>
</item>
</list>
</query>
</iq>
It looks like you arn't sending completely valid xmpp xml, there shouldn't really be an extra namespace declaration on the item element as that element should already be in that namespace, there are no such attributes of group or jid in privacy lists and you should really be sending the empty message element as <message/> not <message></message>.

Richard


Reply via email to