Ok, i got it.
Sometime back i asked a question on blocking and unblocking a user, but i
didnt get a proper answer for that. Could you please ....
here is my question

 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="
ganesh.kundapur at bhdhcp07392.com
<http://mail.jabber.org/mailman/listinfo/jdev>"
xmlns="jabber:iq:privacy">
<message></message>
</item>
</list>
</query>
</iq>
--
When i retrive the privacy list, its showing empty.
--
SEND:
-----------------------------------
<iq type="get" id="50219706223"> <query xmlns="jabber:iq:privacy"> <list
name="Example"></list>
</query>
</iq>

-----------------------------------

RECV [58]:
-----------------------------------
'<iq xmlns='jabber:client' id='41221701208' type='result'/>'
-----------------------------------

RECV [178]:
-----------------------------------
'<iq xmlns='jabber:client' id='50219706223' type='result'><query
xmlns='jabber:iq:privacy'><list name='Example'><item order='3'
action='deny'><message/></item></list></query></iq>'
-----------------------------------

SEND:
-----------------------------------
</stream:stream>
-----------------------------------
--
When i retrive the privacy lists, server sends only privacy lists
without the blocked users
privacy list is not showing the blocked user. Even user will recieve the
message from the blocked user after blocking also.



On 3/1/07, Remko Tronçon <[EMAIL PROTECTED]> wrote:

> If thats the case, howcome gaim allows creating a empty groups?

Gaim supports other protocols as well, not only Jabber. It is possible
that other protocols (such as MSN) allow you to create groups without
contacts. Jabber, however, does not, so if you only have a Jabber
account on Gaim, creating an empty group should have no (lasting)
effect.

cheers,
Remko

Reply via email to