Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to accept invite from user who has already left room fails badly #2289

Open
ara4n opened this issue Dec 27, 2023 · 0 comments
Open

Trying to accept invite from user who has already left room fails badly #2289

ara4n opened this issue Dec 27, 2023 · 0 comments
Labels
A-Invite A-Room-Members O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Minor Impairs non-critical functionality or suitable workarounds exist T-Defect X-Needs-Backend

Comments

@ara4n
Copy link
Member

ara4n commented Dec 27, 2023

Steps to reproduce

  1. Get an invite
  2. Try to accept it
  3. Get "Sorry, an error occurred".
Screenshot 2023-12-27 at 21 29 56

I'm assuming that the problem is that the user invited me, then left the room.

Outcome

What did you expect?

Rooms shouldn't wink out of existence if they have nobody in them: matrix-org/matrix-spec#95

However, accepting an invite to an empty room could be pretty annoying too, especially if it had no history in it.

Alternative solutions could be:

  • Automatically withdraw invites sent by users when the inviter parts the room (although it's possible that sometimes this behaviour would be desirable - e.g. an invite bot which joins a room, invites someone, and then leaves it)
  • Automatically withdraw invites in a room when all the joined users part (so that it winks out of existence fully)
  • Don't let users exit rooms without first withdrawing any invites they sent (i.e. force the client to clean up)

What happened instead?

Awful UX.

Your phone model

No response

Operating system version

No response

Application version

475

Homeserver

No response

Will you send logs?

No

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Invite A-Room-Members O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Minor Impairs non-critical functionality or suitable workarounds exist T-Defect X-Needs-Backend
Projects
None yet
Development

No branches or pull requests

2 participants