element-hq / element-hq/element-web

Pinning and unpinning a message leads to confusing text in the timeline

Open
#28,894 4 comments 0 reactions 0 assignees View on GitHub
A-Message-Pinning O-Occasional S-Minor T-Defect
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

You need two accounts with access to a shared room.
1. MXID1 opens the room
2. MXID2 opens a different room or closes the client
3. MXID1 pins a message in the room
4. MXID1 un-pins the same message. They will see "MXID1 changed the pinned messages for the room."
![image](https://github.com/user-attachments/assets/be4db2f1-6b9a-4e0d-875a-7e389e903676)
5. MXID2 opens the room and sees "MXID1 pinned a message to this room. See all pinned messages." instead
![image](https://github.com/user-attachments/assets/d0e236c1-9087-4874-9be1-9ff405c9f5a8)

### Outcome

#### What did you expect?
Everybody sees "MXID1 changed the pinned messages for the room."

#### What happened instead?
MXID2 opens the room and sees "MXID1 pinned a message to this room. See all pinned messages."

### Operating system

Arch Linux

### Browser information

Firefox 133.0.3

### URL for webapp

https://app.element.io

### Application version

Element version: 1.11.89 Crypto version: Rust SDK 0.7.2 (2f872cf), Vodozemac 0.8.1

### Homeserver

matrix.org

### Will you send logs?

No

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.