So I am doing an airbnb type app (its not airbnb).
I have a User data type and I have an event data type. So far so good. The user has a list of events as part of his data type. An instance of data will have a small list of users, and an organizer.
So I would like to set up a messaging system between the two (not sure how to do this)
Later, after either creating the event, or signing up for it, or even after the event, I would like to keep the chat on an event page, and allow it to continue.
How is the chat preserved and linked between attendee, organizer, and event?