element-hq / element-hq/element-ios

Showing updated quote after edit—Difference between official clients: iOS vs Web, Desktop, & Android

Open
#3,828 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
1.8k
Forks
544
PR merge metrics
PR metrics pending

Description

**Describe the bug**
A certain common, plausible sequence of actions causes a difference in displayed text among different platforms supported with official clients. Element on iOS appears to behave differently than Element Web, Desktop, & on Android. It will reflect different quoted replies to participants, without laboriously inspecting edit histories.

**To Reproduce**
When
- a message A is sent,
- a message B quote-replies to message A—showing msg A in block quote—,
- and then message A is edited.

**Expected behavior**
Element iOS should behave the same as element web and android, updating a quoted message in a reply when edited.

**Screenshots**
On web, desktop, and android, the quote reply to a subsequently edited message shows:
- Desktop screenshot:
![Desktop screenshot](https://user-images.githubusercontent.com/601708/100076714-5d923600-2df6-11eb-8370-f2f64dee4e17.png)
- Web screenshot
![Web screenshot](https://user-images.githubusercontent.com/601708/100077402-2a9c7200-2df7-11eb-917e-9db3e34cbbe5.png)

On iOS, the quote reply to a subsequently edited message shows:
- iOS screenshot
![iOS screenshot](https://user-images.githubusercontent.com/601708/100076709-5c610900-2df6-11eb-9783-a75f711964a4.png)

**Desktop (please complete the following information):**
- OS: macOS 10.14 (and others?), Linux?

** Web:
- Browser: Chrome/Brave,
- Version 1.16.76 Chromium: 86.0.4240.198 (Official Build) (x86_64)
- Element Version: `1.7.13`

**Smartphone (please complete the following information):**
- Device: iPhone8
- OS: 14.2
- App/version: iOS: `1.0.16 master #20201013143907`

**Additional context**
Private self-hosted server.
Sorry about the example language used. Friend effectively demonstrates a misable sharp joke due to the bug.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported sequence in the iOS client: send message A, quote-reply with message B, then edit A, and compare the displayed quote with Web or Android. Done means iOS updates the quoted reply to match the other official clients.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile
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.