element-hq / element-hq/element-ios

Edits are (sometimes?) not shown en crypted rooms

Open
#5,315 1 comment 3 reactions 0 assignees View on GitHub
A-E2EE A-Timeline O-Uncommon S-Minor T-Defect
Dominant language
Swift
Stars
1.8k
Forks
544
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

- Get in a E2EE with several people.
- Someone edits their message.
- Tap the `(edited)` next to their message
- It shows `Encrypted message` instead of their original message and edited message

![ima_c4d039f](https://user-images.githubusercontent.com/1688309/146332181-b8e19306-b36c-4840-bf01-6383a4d70081.png)
![ima_2076d90](https://user-images.githubusercontent.com/1688309/146332192-621ef923-8a7f-4bae-b083-3b815450981b.png)

### Outcome

#### What did you expect?

I expected to see the message edit history

#### What happened instead?

I saw the same `Encrypted message` string for all versions of the message in the edit history

### Your phone model

iPhone 11 Pro

### Operating system version

iOS 15.2

### Application version

1.6.11 (20211214150343)

### Homeserver

ergaster.org

### Will you send logs?

Yes

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in an E2EE room with several people by editing a message and opening its edit history. Trace the iOS handling of encrypted message edits and verify that each history entry shows its original or edited message rather than the generic “Encrypted message” text.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.