element-hq / element-x-ios

Next generation Matrix client for iOS built with SwiftUI on top of matrix-rust-sdk.
https://element.io/labs/element-x
Apache License 2.0
365 stars 75 forks source link

Message queue didn't flush after bad connectivity #2952

Closed ara4n closed 1 week ago

ara4n commented 2 weeks ago

Steps to reproduce

  1. Sent a message while on bad connectivity (leaving the office, so on out-of-range wifi before it gave up and switched to 5G)
  2. Message got stuck in hollow-circle send state
  3. Switched to 5G
  4. Message continued to be stuck
  5. Tried backgrounding & foregrounding, reloading the room, etc
  6. Still stuck
  7. Waited a few minutes
  8. Eventually force-quit & relaunch app
  9. Message now sends.

Outcome

What did you expect?

The send queue should probably get kicked when:

What happened instead?

Send queue stuck, sad panda.

Your phone model

No response

Operating system version

No response

Application version

625

Homeserver

No response

Will you send logs?

Yes