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

Richard Dobson richard at dobson-i.net
Fri Mar 7 08:09:03 CST 2008


That isn't really the best way to block and unblock contacts, your best 
bet is to have a look into privacy lists (XEP-0016).

Hope that helps.

Richard

shashi kiran wrote:
>
> Hi All,
>
> I Have a Peculiar Problem :
> i Block a Contact, and it is Successfully done,but once i unblock the 
> same Contact in the current session my immediate Presence is not 
> broadcasted to the contact but his presence is seen by me. Once i 
> Logout and then login again everything is fine he is able to see my 
> presence and me his...
>
> I Use the Following Stanzas for Block and Unblock
>
> For Block:
>      * <presence to='contact at jabber.org <mailto:contact at jabber.org>'   
> type='unsubscribe'/>
>       <presence to='contact at jabber.org <mailto:contact at jabber.org>'  
> type='unavailable'/>*
>       
> For Unblock:
>       *<presence to='contact at jabber.org <mailto:contact at jabber.org>'   
> type='subscribe'/>*
>  
>
> Any Suggestions are most welcome.. Thanks in Advance
>
> -- 
> _______________________________________
>
> Shashi Kiran G M
> Symbian Developer
>
> ________________________________________ 





More information about the JDev mailing list