element-hq / element-web

A glossy Matrix collaboration client for the web.
https://element.io
GNU Affero General Public License v3.0
11.21k stars 2k forks source link

Error given when trying to answer a DM where the DMer has left(?) is wrong. #26812

Open ara4n opened 10 months ago

ara4n commented 10 months ago

Steps to reproduce

  1. Receive a DM
  2. Try to answer it
  3. Discover the DMer has left the room, and it's winked out of existence
  4. Stare at a very detailed and completely misleading error message
Screenshot 2023-12-29 at 10 40 51

Outcome

What did you expect?

A prompt that says something like "You cannot answer this invite as the inviter left the conversation ".

Operating system

No response

Browser information

No response

URL for webapp

develop

Application version

No response

Homeserver

No response

Will you send logs?

No

ara4n commented 10 months ago

This is the same room (and same problem) as https://github.com/element-hq/element-x-ios/issues/2289

See also https://github.com/matrix-org/matrix-spec/issues/95

ara4n commented 10 months ago

regression of https://github.com/matrix-org/matrix-react-sdk/pull/5061 and https://github.com/element-hq/element-web/issues/14722

ara4n commented 10 months ago

I'm guessing it regressed somewhere around matrix-org/matrix-react-sdk#6048