supercoeus / msnp-sharp

Automatically exported from code.google.com/p/msnp-sharp
0 stars 1 forks source link

Cannot Delete Contact From ContactList or AddressBook #220

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Add any Contact (if Offline the problem is worse)
2. Delete user from ContactList
3. Try to re-add Contact

What is the expected output? What do you see instead?
I want to be able to completely delete the Contact from all lists. I can delete 
the contact with the MSN client and then re-add, but not 100% within the 
program.

What version of the product are you using? (MSNPSharp, OS, Mono etc.)
MSNPSharp

Is your code check out from SVN or download from our download site?
Downloaded from your site.

Original issue reported on code.google.com by programm...@gmail.com on 1 Oct 2010 at 1:04

GoogleCodeExporter commented 8 years ago
This is not a bug. If you want to delete completely, call these methods:

messenger.ContactService.RemoveContact(contact);
contact.OnAllowedList = false;
contact.OnBlockedList = false;

RomoveContact doc:
Note that remote contacts that are allowed/blocked remain allowed/blocked.

Original comment by hepha...@gmail.com on 1 Oct 2010 at 9:22