Dun-sin / Whisper

A fun Application to have a random chat with people safely
https://whisper.favour.dev/
MIT License
390 stars 367 forks source link

[FEATURE] Prevent editing/deleting of old messages #705

Closed mathiasayivor closed 3 weeks ago

mathiasayivor commented 1 month ago

Description

It will be really helpful to prevent users from deleting/editing their messages after they've been sent for some time (e.g after 15 minutes). This will help promote integrity. Messaging platforms like WhatsApp have already implemented this feature, preventing users from editing/deleting messages sent for over 15 minutes

Screenshots

No response

Additional information

No response

👀 Have you checked if this issue has been raised before?

🏢 Have you read the Contributing Guidelines?

Are you willing to work on this issue ?

None

github-actions[bot] commented 1 month ago

To reduce notifications, issues are locked until they are valid/approved and to be assigned. In the meantime read the contributing guidelines -> https://github.com/Dun-sin/Whisper/blob/main/CONTRIBUTING.md

github-actions[bot] commented 1 month ago

The issue has been unlocked and is now ready for dev. If you would like to work on this issue, you can comment to have it assigned to you.

itsme-sherlock commented 1 month ago

/assign

YsPrice commented 1 month ago

/assign @YsPrice

AkshitSanghani commented 1 month ago

/assign

azr-arch commented 4 weeks ago

Can i get this?

Dun-sin commented 4 weeks ago

Can i get this?

Sure @azr-arch, thanks for wanting to contribute. Make sure to read the issue description carefully and ask if you have questions on the discord server. Follow the rules here, or your PR won't be accepted and will be closed.

For this it is better to not show the option at all after the time has passed, check for it in the frontend and the backend.

Good luck!