if we can't reach a remote server when rejecting an invite, we just flag it as rejected locally. But it looks like we forget to update the client (via /sync).
Workaround is to flush the cache in the client.
this is a synapse bug really
I have an instance of what I presume is this. Stuck invite, can't join or reject it. Its just sitting in my room list and making Riot display a notification bubble constantly. I run my own homeserver. Any way to kill it?
@rschulman after you reject it (and fail), clear client cache
there is a known bug where Synapse doesn't inform you about the reject in the Sync stream
While we wait for this to be fixed in Synapse, Riot should just remove that room from its own database when I click reject. This is what Quaternion does and it means that at least you don't have to clear cache on all of your devices, you just have to click reject on all of your devices.
I'll look into this shortly
Any progress?
As for the workaround at this level, its too ambiguous in the case of what happens when a real re-invite comes through. This issue is blocked on Synapse fixing their issue.
I logged in to my account after a months long absence. I've had used riot only once briefly. After logging in, I see an invitation from somebody. But I cannot dismiss it. Every action says that the room has been deleted. But the invitation does not go away, no matter what I do.
I received a chat invitation from @mwyraz:matrix.org . I have no idea whether that's a spammer or a legitimate open-source developer who wanted to contact me. I have no idea when the invitation happened.
After I log in:

After I click [Reject], the UI stalls (forever, so I need to refresh the browser page):

After I click [Start chatting], I get "No known servers":

After I click [Reject and Ignore], I get "Unknown room":

In my user settings, tab Security and Privacy, I found an option "Reject all 1 invitations". That button has no effect, either. It refreshes, but stays with 1 invitation.

This is a pretty serious issue. And a bug that shows "front and center" for new users.
Can this be fixed, please? If this needs to be fixed upstream, then please submit a patch there.
@benbucksch the upstream issue you want to track is https://github.com/matrix-org/synapse/issues/2181
Also getting this issue on riot.im:


The body of the network response:
{"errcode":"M_FORBIDDEN","error":"No create event in auth events"}
Its really annoying because I can't get rid of this invite:

@aviau clear client cache in settings after hitting Reject. This is a Synapse bug.
@t3chguy where do you clear this cache from the web client at riot.im/app?
Settings > Help & About
This bug is really annoying and can one's life miserable if you get spammed by room invites (just saying). Any progress or estimates when it would be addressed?
As per above, the issue is upstream: https://github.com/matrix-org/synapse/issues/2181
Most helpful comment
@rschulman after you reject it (and fail), clear client cache
there is a known bug where Synapse doesn't inform you about the reject in the Sync stream