We’re making an event based meetup type of application where users can chat amongst themselves before attending the event. When a user selects an event, we are looking to have the user automatically added to a group chat. For example, any user that wants to attend “Event A” will automatically be added to a group chat for “Event A” once they press the “Attend” button.
Right now the problem we are facing is that when the user selects the attend button it creates a separate group chat each time, rather than adding the user to an already existing group chat for the event. We’ve seen tutorials on how to create group chats, but those mainly consist of the users manually selecting who they want to chat with. Any help would be greatly appreciated!
Here’s a link to what we have so far.