Re: multiple add friend requests - WeOnlyDo Discussion board

Re: multiple add friend requests (General questions)

by woddrazen, Monday, June 15, 2009, 15:58 (5423 days ago) @ Sapna

Sapna,


If you want to add new contact to your list why don't you use then XMPPContacts object Add Method?

More help for Add Method you can find here:
http://www.weonlydo.com/XMPP/Help/WODXMPPLib~XMPPContacts~Add.html

Also you should put that code outside ContactAuthRequest Event.

Here is example how to add new contact in C#[code]
WODXMPPCOMLib.XMPPContact cnt;
cnt = wodXMPP1.Contacts.Add(textBox3.Text);
cnt.Subscribe();[/code]
Drazen


Complete thread: