RocketChat / RocketChat/Rocket.Chat

Can't delete `message_pinned` message type

Open
#4,891 6 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feat: message planned type: bug
Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

0.46.0

You can delete the pinned message, but not the message that you pinned a message.

This may leave a permanent quoted copy of a message someone might want deleted, not even admin could remove.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are mentioned. Start by tracing the message-deletion entry point and the handling of the message_pinned type, then reproduce the reported case from version 0.46.0. Done means a pinned message and the message that created its pin can both be deleted, including by an administrator, without leaving an undeletable quoted copy.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.