An option to delete messages #17

Closed
opened 2023-06-24 06:14:51 +00:00 by kirsle · 1 comment

There should be options to delete messages in chat, which could reach into other peoples' front-ends to remove cached messages from them all.

Example: somebody uploads an offensive photo in a public channel and it's broadcast out to everybody. That photo only lives in the front-end cache of each person's browser, if they exit or reload the page it's gone, but there is no way for the chat server to take back that message and get it off everyone's screen.

This feature will take a couple forms:

  • Users may take back their own messages they sent, which will remove it from everybody's view of the chat history.
    • A WebSocket server command would tell the front-end to delete a message by its ID from the history array, removing it from the page.
  • Users may also hide (or, delete the message only locally from their own view of the chat history) messages sent by other users.
  • Admin users can delete (take back) any message in chat and pull it from everybody's display.
There should be options to delete messages in chat, which could reach into other peoples' front-ends to remove cached messages from them all. Example: somebody uploads an offensive photo in a public channel and it's broadcast out to everybody. That photo only lives in the front-end cache of each person's browser, if they exit or reload the page it's gone, but there is no way for the chat server to take back that message and get it off everyone's screen. This feature will take a couple forms: * Users may **take back** their own messages they sent, which will remove it from everybody's view of the chat history. * A WebSocket server command would tell the front-end to delete a message by its ID from the history array, removing it from the page. * Users may also **hide** (or, delete the message only locally from their own view of the chat history) messages sent by other users. * Admin users can delete (take back) any message in chat and pull it from everybody's display.
kirsle added the
enhancement
label 2023-06-24 06:14:51 +00:00
Poster
Owner

Implemented

Implemented
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: apps/BareRTC#17
There is no content yet.