element-hq / element-hq/element-android

Add a specific tile in the unencrypted room history

Open
#4,136 0 comments 1 reaction 0 assignees View on GitHub
T-Enhancement
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

### Your use case

The Element-Web client displays a tile at the beginning of the unencrypted room in order to highlight the encryption is disabled
![image](https://user-images.githubusercontent.com/8969772/135592086-e5a7b663-c036-4cf0-b89a-1b70bca0b684.png)

Element-Android displays currently this kind of tile only for the encrypted rooms:
![image](https://user-images.githubusercontent.com/8969772/135672326-1c70e8c6-df31-42b3-a5ec-72e6afa0ade9.png)

This limitation on Element-Android may be due to the fact that the tile management is totally linked to the `m.room.encryption` state event. The unencrypted rooms don't have this kind of state event.
I suggest here displaying at the beginning of the unencrypted rooms the same tile as Element-Web. A new tile should be displayed in this room history when the room admin turns on the encryption.

Note: in Element-web the tile is not displayed in unencrypted room if the join_rule is public (the room is accessible by link)

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.