🍫 Lucian Marin I'm thinking about adding direct, private, one to one messaging to Sublevel. I need to find the best way to do it. Database models are tricky, they can turn everything into a mess or the other way around. Basically I need to generate a conversation ID to simplify things and I have no idea how.
Martijn Create a random unique ID per conversation, bind every message to a specific conversation ID, let people either have access to the ID or not (this could be 2 people for one-on-one, or more for groups), and simply show messages in chronological order whenever someone requests a conversation?
8y, 26w 1 reply
Login or register your account to reply
🍫 Lucian Marin I have a working version without a conversation ID. Now I have to list the conversations and make sure notifications work properly.
8y, 26w reply