element-hq / element-hq/element-x-android

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

Open
#6,959 0 comments 0 reactions 0 assignees View on GitHub
A-PinnedMessages O-Occasional S-Major T-Defect
Dominant language
Kotlin
Stars
2.4k
Forks
624
Avg merge
1d 14h
Merged PRs (30d)
149

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?
1. The are no pinned messages or it is not shown
2. In the settings of the screen you see 0 and there are non shown if you click on it

#### What happened instead?
1. The pinned message keeps on loading
2. In the settings of the screen you see 1 at Pinned messages and if you click on it it stays loading

### Your phone model

google pixel

### Operating system version

_No response_

### Application version and app store

_No response_

### Homeserver

_No response_

### Will you send logs?

Yes

### Are you willing to provide a PR?

Yes

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.