In my web app, I have an instant messaging feature. I want to automatically send all users a greeting message when they sign up.
My database structure is “message” (message text) saved as one type which is linked to “conversation” (list of users in the conversation and list of messages sent in the conversation) which link to a users “conversation list” (list of all users conversations).
I have a greeting “message” saved and can link that to the creation of a “conversation”.
But when setting the conversations list of users, I can add the current user (user who is signing up) but then how do I add the second user which is the company (saved as a user)?
Just change conversationParts ‘add list’ to ‘add’ like the step above.
I don’t know if this is really what you are looking for since I don’t know exactly where you are getting your unique id from. But I figure, maybe you know where you are getting it from.