Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new convo with org member+team error #429

Open
McPizza0 opened this issue May 7, 2024 · 0 comments
Open

new convo with org member+team error #429

McPizza0 opened this issue May 7, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@McPizza0
Copy link
Member

McPizza0 commented May 7, 2024

when creating a new convo
and adding a user as a participant
and also a team where the user is a team member within

you will get a db conflict error

we need to handle this;
in the new convo tRPC endpoint
first add teams and track members
then add org members excluding already added team members
then modify the conflict ones to change their role within the conversation to highlight that they are now an convo participant rather than just an org member participant

something like that

https://discord.com/channels/1113119653246545961/1232056234916450435/1232056234916450435

@McPizza0 McPizza0 added the bug Something isn't working label May 7, 2024
@McPizza0 McPizza0 self-assigned this May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant