CuteChat API

  •  03-11-2009, 3:16 PM

    CuteChat API

    Hello, I need so help!
     
    How can I programmatically add a contact?
     
    I've tried :
     
    CuteChat.ChatPortal portal = CuteChat.AppSystem.Instance.GetCurrentPortal();
    CuteChat.AppChatIdentity chatIdentity =
     
    new CuteChat.AppChatIdentity("[email protected]", false,
    "[email protected]"
    ,
    HttpContext.Current.Request.UserHostAddress);0
    portal.DataManager.AddContact(chatIdentity, "[email protected]");
     
    I get strange behaviors in database, for example, in column CuteChat4_User.UserId, instead of User:[email protected], the 'User:' string disapear.
    Also data in column CuteChat4_User.BuildinContacts is set to NULL.
     
    Thank you.
    Dave. 
    Filed under:
View Complete Thread