[jdev] Problem in adding a group

Artur Hefczyc ajdev at tigase.org
Thu Mar 1 05:55:27 CST 2007


Just a thought....

I am not sure if this is the case but I can see that you have an extra 
space character at the beginning of the jid value. So depending on
server implementation it may not match the jid when the message
is sent....

Especially that sever returns privacy lists with this space character
included in front of JID.

Artur

On Thursday 01 March 2007 11:22, Ganesh Kundapur wrote:
> i'm extremely sorry for that.I'm getting it now, but the problem is that i
> can send/recieve messages
> even after blocking.
>
> -----------------------------------
> <iq type="set" id="133333686547"> <query xmlns="jabber:iq:privacy"> <list
> name="Example"> <item order="3" action="deny" value="
> ganesh.kundapur at bhdhcp07392.com" type="jid"> <message></message>
> </item>
> </list>
> </query>
> </iq>
>
> -----------------------------------
>
> SEND:
> -----------------------------------
> <iq type="get" id="133258686725"> <query xmlns="jabber:iq:privacy"> <list
> name="Example"></list>
> </query>
> </iq>
>
> -----------------------------------
>
> RECV [59]:
> ------------------------------------
> '<iq xmlns='jabber:client' id='133333686547' type='result'/>'
> ------------------------------------
>
> RECV [241]:
> ------------------------------------
> '<iq xmlns='jabber:client' id='133258686725' type='result'><query
> xmlns='jabber:iq:privacy'><list name='Example'><item order='3'
> action='deny' value='ganesh.kundapur at bhdhcp07392.com'
> type='jid'><message/></item></list></query></iq>'
> ------------------------------------
>
> On 3/1/07, Remko Tronçon <remko at el-tramo.be> wrote:
> > > Just now i sent the fallowing stanzas containing value and type
> >
> > attribute as
> >
> > > u said
> >
> > And the server seems to answer what is expected. You are asking for
> > the list of privacy lists, and it returns you this list. *Please* read
> > Section 10 of RFC3921 carefully, and *carefully* examine what you are
> > sending, and *carefully* compare it with the examples.
> >
> > cheers,
> > Remko

-- 
Artur Hefczyc
http://www.tigase.org/
http://wttools.sf.net/



More information about the JDev mailing list