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

Can't dismiss invite to room that probably no longer exists #26514

Closed
lnicola opened this issue Nov 7, 2023 · 4 comments
Closed

Can't dismiss invite to room that probably no longer exists #26514

lnicola opened this issue Nov 7, 2023 · 4 comments
Labels

Comments

@lnicola
Copy link

lnicola commented Nov 7, 2023

Steps to reproduce

  1. Receive an invite to a test room
  2. Don't accept it fast enough
  3. Make the others leave (or upgrade?) the test room so it's now empty
  4. Try to dismiss the invite

Outcome

What did you expect?

Invite goes away.

What happened instead?

image

"Reject" goes to the onboarding screen, invite remains active and RED.

Operating system

Linux

Browser information

Firefox

URL for webapp

1.11.47

Application version

No response

Homeserver

Conduit 0.7.0-alpha

Will you send logs?

Yes

@lnicola
Copy link
Author

lnicola commented Nov 7, 2023

Looks like /leave works, but then my server says:

WARN conduit::api::client_server::membership: Failed to leave [MY MXID] remotely: M_BAD_STATE: User is not invited.

So it might actually be Conduit or even Synapse (the room was on a Synapse server).

Matching Conduit issue: https://gitlab.com/famedly/conduit/-/issues/401.

@t3chguy
Copy link
Member

t3chguy commented Nov 7, 2023

Definitely a server issue. The server should be local-rejecting the room invite and removing it from your client via /sync.

@t3chguy t3chguy closed this as completed Nov 7, 2023
@avdb13
Copy link

avdb13 commented Feb 24, 2024

Definitely a server issue. The server should be local-rejecting the room invite and removing it from your client via /sync.

Why exactly didn't the specification allow for redaction of invitation events by both the recipient and sender? I'm not sure if this would work but this seems like a possible solution, although I'm guessing the recipienr has to be a room member to reject the invitation.

@t3chguy
Copy link
Member

t3chguy commented Feb 24, 2024

Why exactly didn't the specification allow for redaction of invitation events by both the recipient and sender? I'm not sure if this would work but this seems like a possible solution, although I'm guessing the recipienr has to be a room member to reject the invitation.

The spec does allow for this. The issue happens when the room no longer exists (as per the title of this issue) - then there is no invitation to reject and your server wouldn't have been notified of the room winking out of existence if it wasn't part of the room in the first place. Either way a closed issue on the client side is not the place to discuss.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants