Re: multiple add friend requests (General questions)

by woddrazen, (5844 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

locked

Complete thread: