[jdev] Issues With Subscription Requests (Block and Unblock)

Maciek Niedzielski machekku at uaznia.net
Mon Mar 10 10:38:18 CDT 2008


shashi kiran pisze:
> Hi Norman it works great for Block.
> 
> i Used the Following unblock
>      <presence to='contact at jabber.org'   type='subscribe'/>
>       <presence to='contact at jabber.org'  type=*'**subscribed**'*/>
> 
> Is this the Proper way??

As far as I know, you cannot grant subscription (send "subscribed") if 
contact at jabber.org didn't ask for it first. So sending this will have no 
result in most cases.
You should really consider using privacy lists for this task.

-- 
Maciek
  xmpp:machekku at uaznia.net



More information about the JDev mailing list