element-hq / element-ios

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

Invites to unnamed rooms don't synthesise the right name. #6022

Open ara4n opened 2 years ago

ara4n commented 2 years ago

Steps to reproduce

  1. Invite a 3rd person to a DM
  2. Observe that the invite they receive is misnamed and just says it came from you, rather than being an invite to an existing DM.

Outcome

What did you expect?

The server should hopefully send us enough info about the invite in the invite state to be able to synthesise a consistent room name. If it doesn't, it should.

What happened instead?

If Alice invites Charlie to her existing DM with Bob, Charlie's EI sees an invite from Alice to a room called Alice, not a room called Alice & Bob.

Your phone model

No response

Operating system version

No response

Application version

1.8.13 tf

Homeserver

No response

Will you send logs?

No

ara4n commented 2 years ago

(possibly related: https://github.com/vector-im/element-ios/issues/2010)