Link for new DM / personal chat message with pre-filled information

Hi @lindsey - First off, thanks for building this. It is hugely helpful.

I’m running into an issue where each chat that is started this way is treated as unique even when it has the same people in it. For example if I start this chat:

https://mysite.com/chat/new-message?recipients=USER1,USER2,USER3

and then have a conversation, the next time I hit the same URL it creates a new group chat without any of the prior messages.

I’m generating these links dynamically and when I write out the URL I don’t have any way of knowing if the conversation is net new or the same recipients have already chatted before.

This probably isnt an easy problem to solve but it would be great if a DM already exists with the same recipient list it could just go there instead of spinning up an entirely new, blank DM.

2 Likes