element-hq / element-hq/element-ios
[Bug] Unread badge counter not working correctly for threads when a message has been deleted
- Dominant language
- Swift
- Stars
- 1.8k
- Forks
- 544
- PR merge metrics
- PR metrics pending
Description
### Steps to reproduce
Send a message to userA
Open a thread to this message
Write multiple thread messages
Delete 1-2 latest message in this thread before userA sees the message
Log in to userA
Click on the Thread
Unread badge count does not update correctly
### Outcome
Send a thread message to an user and delete it before he can see it. The unread badge count does not update when the message has been deleted and will stay unread forever till a new message has been sent and read.
### Your phone model
iPhone 14 Pro
### Operating system version
18.1
### Application version
latest
### Homeserver
matrix.org
### Will you send logs?
No
Contributor guide
Assessment
This issue has not been assessed yet.