element-hq / element-ios

A glossy Matrix collaboration client for iOS
https://element.io
GNU Affero General Public License v3.0
1.73k stars 493 forks source link

Trying to mention a user without a displayname crashes the app. #7579

Closed ara4n closed 1 year ago

ara4n commented 1 year ago

Steps to reproduce

  1. Go to a room with a user who hasn't set a displayname
  2. Tap on them and tap Mention in member info
  3. Observe the app crash.

Outcome

What did you expect?

People without displaynames shouldn't crash the app.

What happened instead?

💥

Your phone model

No response

Operating system version

No response

Application version

1.10.12

Homeserver

matrix.org

Will you send logs?

Yes