element-hq / element-hq/element-web

Pinning a message another user does not have access to is handled incorrectly

Open
#33,743 3 comments 0 reactions 0 assignees View on GitHub
A-Message-Pinning O-Uncommon S-Minor T-Defect X-Needs-Info
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

steps:

1. Have a room that contains messages and an account that does not yet have access to this room

2. Invite your second account to this room (make sure he won't have access to the past messages)

3. Accept the invitation on the second account

4. Have the first account pin a message which the second account has no access to.

5. Look at the chat on the second account

### Outcome

What did you expect?
The are no pinned messages or it is not shown
In the settings of the screen you see 0 and there are non shown if you click on it
What happened instead?
- Settings > pinned messages 1 > click > you see "1 pinned message" but you do not see any messages

### Operating system

macOS

### Browser information

Chrome

### URL for webapp

_No response_

### Application version

_No response_

### Homeserver

_No response_

### 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.