matrix-org / dendrite

Dendrite is a second-generation Matrix homeserver written in Go!
https://matrix-org.github.io/dendrite/
Apache License 2.0
5.67k stars 664 forks source link

Can't reject invite of no-longer existing room #1861

Closed andir closed 3 years ago

andir commented 3 years ago

Background information

Description

Months ago I received several invites for conversations but by the time I saw them I could neither accept nor reject them anymore.

When trying to reject an invite I get:

Failed to leave room "!IaGVtVRpgDwQuKawsw:xxx.xxxx" through 1 server(s)

When trying to accept any of them:

You are not invited to this room.

Now I have 21 invites in my Element that I can neither accept nor reject.

Steps to reproduce

I am not exactly sure how that goes but it might be reproducible by

LecrisUT commented 3 years ago

This might be just an client/element error. Try clearing element's cache in Settings->Help & About->Clear cache and reload

andir commented 3 years ago

This might be just an client/element error. Try clearing element's cache in Settings->Help & About->Clear cache and reload

I have that across multiple instances of clients (and platforms).

LecrisUT commented 3 years ago

I have had similar problems when I manually deleted rooms and that resolved it for me. Try it out and see if that resolves it.

andir commented 3 years ago

I have had similar problems when I manually deleted rooms and that resolved it for me. Try it out and see if that resolves it.

How do you manually delete a channel that you can't see?

LecrisUT commented 3 years ago

By channel you mean a room? For synapse there is synapse-admin, but if the management API are compatible, you should be able to use it as well. There are other garbage collectors as well, and you can also manually curl the API. I personally prefer a VSCode extension to manually interface with some API.

kegsay commented 3 years ago

Dupe https://github.com/matrix-org/dendrite/issues/1743 - we're aware of this issue and will try to address this ASAP