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
GNU Affero General Public License v3.0
409 stars 94 forks source link

UTD errors are shown incorrectly in room previews. #2977

Closed ara4n closed 2 months ago

ara4n commented 3 months ago

Steps to reproduce

  1. Open a room where the most recent message is a UTD - e.g. "You do not have permission to view this message"
  2. Go to the room list
  3. Observe that the room list preview says "Decryption error" or something equally ugly and unhelpful

Outcome

What did you expect?

Nice UTD errors

What happened instead?

Ugly ones.

Your phone model

No response

Operating system version

No response

Application version

631

Homeserver

No response

Will you send logs?

No

pixlwave commented 2 months ago

Will be fixed by #3030 although part of me wonders if this specific bug is a dupe of #2979 as I'm fairly sure we decided that encrypted events should be allowed for the last message either.