Starred messages panel shows outdated text when a starred message is edited while the panel is open

Aperta
#43,960 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@bandi-sravan ci sta già lavorando.

Dal 26/11/2026.

  • #43964 di @bandi-sravan — aperta

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
javascript, typescript
Ambito
frontend

Direzione di ricerca

The payload names no source files, so start by reproducing the steps with two sessions on a local server started with yarn dsv. Compare how the channel view and the Starred messages panel receive an edited message, since the panel keeps stale text while the channel updates. Done when the open panel shows the edited text without being closed and reopened.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

type: bug
Description

When someone edits a message I’ve starred, I see the updated text in the channel, but the open Starred messages panel continues to show the previous text for the same message.

Steps to reproduce
  1. As User A, send a message in a channel that User B has joined.
  2. As User B, star the message and open the channel’s Starred messages panel.
  3. Keep User B’s panel open. As User A, edit the original message and save the change.
  4. In User B’s window, compare the text in the channel with the text in the panel.
Expected behavior

The open Starred messages panel shows the edited text as soon as the channel does.

Actual behavior

In User B’s window, the channel shows “Hello World - fourth edited” while the open Starred messages panel still shows “Hello World - third edited” for the same 2:04 AM message.

Screenshot 2026-11-26 at 2 33 28 AM
Workaround

Closing and reopening the Starred messages panel displays the updated text without a page refresh. In an earlier run, both views showed “Hello World - edited” after I reopened the panel.

Screenshot 2026-11-26 at 2 08 40 AM
Environment
  • Client: Rocket.Chat web client in Google Chrome on macOS
  • Server: Local development server started with yarn dsv
  • Accounts: Message author in a regular Chrome window and a second channel member in an incognito window
Lingua principale
TypeScript
Stelle
46.6k
Fork
14.2k
Merge medio
2g 21h
PR unite (30g)
302

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di RocketChat/Rocket.Chat

Tutte le issue di RocketChat/Rocket.Chat

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.