element-hq / element-ios

A glossy Matrix collaboration client for iOS
https://element.io
Apache License 2.0
1.72k stars 479 forks source link

Element crash on room v11 #7633

Closed Dryusdan closed 11 months ago

Dryusdan commented 12 months ago

Steps to reproduce

  1. Where are you starting? What can you see? I launch Element application and start on main screen witch list all channel
  2. What do you click? I click on channel upgrade to matrix v11 room and crash

Outcome

What did you expect?

Access on channel

What happened instead?

The application crash

Your phone model

Iphone 13 / Iphone XS

Operating system version

16.6

Application version

Element 1.10.14

Homeserver

matrix.dryusdan.fr (synapse)

Will you send logs?

Yes

pixlwave commented 12 months ago

The crash is due to the m.room.create event missing the required creator property.

This appears to be an issue with the backend from what I can tell. I've opened an issue on Synapse to confirm: https://github.com/matrix-org/synapse/issues/16050

pixlwave commented 11 months ago

From the Synapse issue:

https://github.com/matrix-org/matrix-spec-proposals/pull/3820 no longer has a creator property, see https://github.com/matrix-org/matrix-spec-proposals/pull/2175.

creator should be treated as optional now and fall back to the event's sender.