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

Add ability to delete a message #38

Closed
kisamoto opened this issue May 15, 2024 · 1 comment · Fixed by #128
Closed

Add ability to delete a message #38

kisamoto opened this issue May 15, 2024 · 1 comment · Fixed by #128

Comments

@kisamoto
Copy link
Contributor

Deleting a message should:

  • Delete the message itself
  • Delete any message threads
  • Delete all messages after this message
    • do we want this? is this expected? or make it an option?
    • how would this affect group chats?
    • Actually this doesn't make sense, it should just show 'Message deleted' especially if in group chats
@kisamoto kisamoto linked a pull request Jun 28, 2024 that will close this issue
@kisamoto
Copy link
Contributor Author

as the backend has a CASCADE delete on messages.parent_message_id, this will auto delete all siblings (messages at the same level) and children (threads/replies)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant