Skip to content

Conversation

azr-arch
Copy link
Contributor

Fixes Issue

My PR closes #705

πŸ‘¨β€πŸ’» Changes proposed(What did you do ?)

  • Added a restriction to prevent users from editing or deleting messages after 15 minutes to promote message integrity.
  • Implemented frontend checks to hide edit/delete options if the message is older than 15 minutes.
  • Added backend validation to prevent edit/delete requests from bypassing the 15-minute restriction.

βœ”οΈ Check List (Check all the applicable boxes)

  • My code follows the code style of this project.
  • This PR does not contain plagiarized content.
  • The title and description of the PR is clear and explains the approach.

Note to reviewers

πŸ“· Screenshots

limit.edit.and.delete.-.Made.with.Clipchamp.mp4

Copy link

vercel bot commented Oct 26, 2024

@azr-arch is attempting to deploy a commit to the dunsin's projects Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

vercel bot commented Oct 29, 2024

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Comments Updated (UTC)
whisper-b2p2 βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback Oct 29, 2024 10:45am

Copy link
Owner

@Dun-sin Dun-sin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love this, thanks for contributing

@Dun-sin Dun-sin merged commit 46ded84 into Dun-sin:main Oct 29, 2024
3 checks passed
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 this pull request may close these issues.

[FEATURE] Prevent editing/deleting of old messages
2 participants