element-hq / element-hq/element-android

Wrong placement of encryption-enabled and start-of-history UI elements

Open
#3,375 1 comment 0 reactions 0 assignees View on GitHub
T-Defect Z-UI UX
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

#### Describe the bug

The "Encryption enabled" and "This is the beginning of ROOM_NAME history" signs can end up in the wrong place sometimes, *after* some messages and not at the actual start of history. This may be an unforeseen interaction with the recent implementation of https://github.com/uhoreg/matrix-doc/blob/shareable_keys_msc/proposals/3061-shareable-room-keys.md in Element Web.

#### To Reproduce
Steps to reproduce the behavior:
1. Create a room from Element Web.
2. Send some messages.
3. Invite an account using Element Android.
4. Join the room.
5. The "Encryption enabled" and "This is the beginning of ROOM_NAME history." signs are in the wrong place, below the messages sent in step 2.

#### Expected behavior
The signs should be at the actual start of history, at the point where room creation/setup events were sent.

#### Screenshots
![image](https://user-images.githubusercontent.com/463342/118826596-ea0c4580-b8bb-11eb-947a-c0d0e6d14854.png)

#### Smartphone (please complete the following information):
- Device: Xiaomi Mi A3
- OS: Android 10

#### Additional context
- App version: Element Android 1.1.7

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.