element-hq / element-hq/element-x-android

Crash when editing message in a Thread

Open
#6,653 0 comments 0 reactions 0 assignees View on GitHub
O-Uncommon S-Critical T-Defect
Dominant language
Kotlin
Stars
2.4k
Forks
624
Avg merge
1d 14h
Merged PRs (30d)
149

Description

### Steps to reproduce

1. Edit your message (in this case, I've edited it to have a @room mention) in a Thread

I wasn't able to reproduce it again

### Outcome

#### What did you expect?

#### What happened instead?

App crashed:
```
io.element.android.libraries.matrix.impl.core.SdkBackgroundTaskError: SDK background task 'send_queue' failure:
Panic (unrecoverable): assertion failed: self.updates.read().unwrap().is_reader_up_to_date(self.token)
```

### Your phone model

_No response_

### Operating system version

_No response_

### Application version and app store

`HEAD 112dc93f` debug build

### Homeserver

_No response_

### Will you send logs?

Yes

### Are you willing to provide a PR?

No

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.