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='[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>' type='unsubscribe'/> <presence to='[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>' type='unavailable'/>* For Unblock: *<presence to='[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>' type='subscribe'/>*
Any Suggestions are most welcome.. Thanks in Advance

--
_______________________________________

Shashi Kiran G M
Symbian Developer

________________________________________


Reply via email to