RocketChat / EmbeddedChat

An easy to use full-stack component (ReactJS) embedding Rocket.Chat into your webapp
https://www.npmjs.com/package/@embeddedchat/react
107 stars 214 forks source link

The new messages popup gets triggered when a message is pinned/unpinned or starred/unstarred. #544

Closed Yashraj7890 closed 2 months ago

Yashraj7890 commented 2 months ago

Description:

The new messages popup also appears when a message is pinned/unpinned or starred/unstarred.

Steps to reproduce:

  1. Scroll up in the chat body
  2. Pin/Unpin or Star/Unstar a message

Expected behavior:

The popup should only and only appear when a new message is received from any other user.

Actual behavior:

The video below shows the current behaviour:

https://github.com/RocketChat/EmbeddedChat/assets/98230836/46cae600-1b79-40a2-8e63-bdbe12937c08