Hi strikingknife,
The code below shows you how to add user "merry" into the contact list of user "jack"
protected void btnAdd_Click(object sender, EventArgs e)
{
CuteChat.ChatPortal portal = CuteChat.ChatSystem.Instance.GetCurrentPortal();
lock (portal)
{
CuteChat.ChatIdentity myid = new CuteChat.AppChatIdentity("nickname", false, "User:jack", "0.0.0.0");
portal.DataManager.AddContact(myid, "User:merry");
}
}
Regards,
Ken