Hi,
We are integrating Web Messenger into a site we are building and we want the site to handle all the contacts. We can/will remove the Add Contact options from web messenger, all we need to do is then add this functionality to our existing contacts system.
Can I check I have this correct:
- When a new user is created on our site, also create the user in ChatChatUser table. This generates a userID for the user
- When a contact is accepted create new rows in ChatChatRelation using the ChatChatUser.userID of each user in Index1 and Index2, IndexType as CONTACT and RelationType as FRIEND
This is how I have understood it, and how I have tried to implement it. However, after adding a contact it does not always show up as a contact when logging into Web Messenger. For this reason I believe I may have missed something.
Can you calirfy the process for adding a contact manually?
Many thanks
Pete