element-hq / element-hq/element-ios

Messages are redelivered

Open
#7,486 0 comments 2 reactions 0 assignees View on GitHub
A-Timeline O-Occasional S-Minor T-Defect
Dominant language
Swift
Stars
1.8k
Forks
544
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

Not sure how to force this to reproduce. Happens sporadically but hopefully my screenshots can clue devs in.

I also experienced this on the Android app, but don't have an Android at the moment.

What I call "sticky" messages, sent messages will continually appear as "new" messages at the bottom of the chat. It doesn't happen all the time; it's seemingly random.

Here is an example of a message I sent yesterday showing up again today:

![image](https://user-images.githubusercontent.com/411870/231164463-228d6b4e-2711-4160-a032-8b0e92b476f5.png)

Here are some screenshots of encryped and decrypted source. Hopefully this might clue someone in.

Here is a decryption of the message from yesterday (4/10/2023):
![image](https://user-images.githubusercontent.com/411870/231165353-2c942e26-4a11-4b77-947f-3924daa6916b.png)

Here is one from today (4/11/2023):
![image](https://user-images.githubusercontent.com/411870/231165526-a69a9696-bd48-4cc0-898c-3b0200e7fc79.png)

I'm trying to remove as many identifiers as possible, so please LMK if you need the room ID or something for investigation. My point, tho, is that there isn't a timestamp change or anything so I'm not sure why the app or the cloud is "redelivering" it.

### Outcome

Messages should not redeliver and should probably stay in temporal order

### Your phone model

iPhone 14 Pro Max

### Operating system version

16.3.1

### Application version

1.10.8

### Homeserver

matrix.org

### Will you send logs?

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.