Re: Establishing User Relationships on the fly

  •  01-03-2009, 11:46 AM

    Re: Establishing User Relationships on the fly

    Hello,
     
    I'm using the trial version of webmessenger 4.0 that I'm trying to integrate into my website.
    The users have the possibility to create their contacts in the website and I would like their contacts to be automatically displayed in Web Messenger.
    I've done what you advise below, and I use it like that :

    CuteChat.ChatPortal portal = CuteChat.ChatSystem.Instance.GetCurrentPortal();
    lock (portal)
    {
    CuteChat.
    ChatIdentity identity = ChatWebUtility.GetLogonIdentity();
    portal.DataManager.AddContact(identity,
    "User:"+conv.toString(dr["login"]));
    }


    I don't have any error but I don't see the new contact in the web messenger nor in the database.
    Have I missed something ? Is there anything more I should do after that ?

    Thank you for your help.

    Karine
     
     
     
View Complete Thread