RocketChat / RocketChat/EmbeddedChat

Unpinning of message is not executed

Open
#1,076 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
JavaScript
Stars
165
Forks
381
Avg merge
1d 2h
Merged PRs (30d)
1

Description

Description:
Image

You can see in the above image that I've pinned one message.

But now when I try to unpin it, it's not happening. And gives the following warnings:

Image
Steps to reproduce:
  1. Go to any channel and login.
  2. Send 1 or 2 messages.
  3. Now hover on any message and try to pin it.
  4. It will be pinned. Now try to unpin it.
Expected behavior:

Message should be unpinned successfully from the channel and that notification should also be disappeared.

Actual behavior:

Message is not unpinned and it shows the warning of can't pin the message.

Contributor guide

No contributing guide indexed for this repository

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

Start by reproducing the issue from the channel message hover actions: pin a message, then unpin it. Trace the pin/unpin flow and the warning shown afterward; done means the message is removed from the channel's pinned messages and the notification disappears.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.