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

Invite to a room that has been deleted by a server admin cannot be accepted nor rejected #1010

Open
eras opened this issue Jan 10, 2023 · 11 comments
Labels
A-Invite O-Occasional Affects or can be seen by some users regularly or most users rarely S-Minor Impairs non-critical functionality or suitable workarounds exist T-Defect Z-Synapse

Comments

@eras
Copy link

eras commented Jan 10, 2023

Steps to reproduce

  1. Get invited to a room
  2. Somehow arrange the room to be removed (probably by server admins)
  3. Try to reject the invite

Outcome

What did you expect?

I expected the invite to get rejected and the invite to get removed from my Element.

What happened instead?

The invite sticks permanently until clearing caches. A dialog pops up indicating the endpoint had returned a HTTP error (lost the logs already so I don't have the specific HTTP code).

Trying any of the three options (accept, reject, reject & ignore) available has the same outcome.

Operating system

Linux

Browser information

Firefox

URL for webapp

No response

Application version

1.11.17

Homeserver

matrix.org

Will you send logs?

No

Related issues: #1000 #1635

@eras eras added the T-Defect label Jan 10, 2023
@artcodespace artcodespace added S-Tolerable Low/no impact on users A-Invite O-Uncommon Most users are unlikely to come across this or unexpected workflow labels Jan 11, 2023
@turt2live
Copy link
Member

This sounds like a Synapse bug, as this used to work.

@turt2live turt2live added X-Regression Z-Synapse O-Occasional Affects or can be seen by some users regularly or most users rarely S-Minor Impairs non-critical functionality or suitable workarounds exist and removed O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Tolerable Low/no impact on users labels Jan 12, 2023
@t3chguy
Copy link
Member

t3chguy commented Jan 12, 2023

Yeah this is an issue where Synapse doesn't send it down /sync coming back

@richvdh
Copy link
Member

richvdh commented Feb 16, 2023

This sounds like a Synapse bug, as this used to work.

I'm not sure this ever worked. You may be thinking of matrix-org/synapse#2181, but in that case it was a remote invite from a server that became unreachable. In this case, the invite is from a user on the local server, but the room has since been deleted, which means we cannot generate a "leave" event.

@richvdh
Copy link
Member

richvdh commented Feb 16, 2023

This is also reported for element-android at element-hq/element-android#4720.

@t3chguy t3chguy transferred this issue from element-hq/element-web Feb 16, 2023
@richvdh
Copy link
Member

richvdh commented Feb 16, 2023

I'll file a new bug for Synapse.

@richvdh
Copy link
Member

richvdh commented Feb 16, 2023

matrix-org/synapse#15085

@richvdh
Copy link
Member

richvdh commented Feb 16, 2023

Workaround for this is to clear the client-side cache, by the way.

@Elliria
Copy link

Elliria commented Feb 20, 2023

Mine finally went away after a couple of days. The issue had nothing to do with cache or cookies for me, because my browser is set to clear those every time it's closed.

@richvdh richvdh changed the title Invite to a room that has been removed cannot be accepted nor rejected Invite to a room that has been deleted by a server admin cannot be accepted nor rejected Feb 21, 2023
@Elliria
Copy link

Elliria commented Feb 21, 2023

I spoke too soon. The invitation went away, but the room still exists and exhibits the same issue when I try to join the conversation in it.

@richvdh
Copy link
Member

richvdh commented Feb 21, 2023

@Elliria I think you have a different issue.

@Elliria
Copy link

Elliria commented Feb 21, 2023

Okay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Invite O-Occasional Affects or can be seen by some users regularly or most users rarely S-Minor Impairs non-critical functionality or suitable workarounds exist T-Defect Z-Synapse
Projects
None yet
Development

No branches or pull requests

6 participants