Element-web: Cannot reject invite to empty room

Created on 20 Jun 2017  Â·  17Comments  Â·  Source: vector-im/element-web

Description

Cannot reject invite to empty room.

Steps to reproduce

  • Get invited to a chat or into a room
  • Room/chat ceases to exist, because everyone leaves
  • You can neither accept nor decline the invitation

Describe how what happens differs from what you expected.
The decline button should remove the invitation regardless of room status. It is unacceptable that there are "ghost" invitations.

Log: sent/not sent?

Version information

  • Platform: desktop

For the desktop app:

  • OS: macOS 10.12.5
  • Version: 0.x.y
    Version of matrix-react-sdk: 0.9.6
    Version of riot-web: 0.11.3
    Version of olm: 2.2.1

initial report in synapse: matrix-org/synapse/issues/2293

bug help-wanted p1 major stuck-invite

Most helpful comment

Since it sounds like some of these invites can't be gotten rid of at all I think that warrants a higher priority.

All 17 comments

I haven't been able to reproduce this yet.

If I:

  • create a room on my federated homeserver
  • invite sbdy from matrix.org
  • leave and forget the room
    then:
  • the invitee can just join the room (they're now the only participant)

If I:

  • create a room on matrix.org
  • invite sbdy from matrix.org
  • leave and forget the room
    then:
  • the invitee can't accept the invite 'Failed: No known servers', but they _can_ reject it

@lampholder did the reject actually go through? https://github.com/vector-im/riot-web/issues/4225 has me a bit worried about it not going through.

If by 'go through' you mean "disappear from the invitee's interface", then yes, it did disappear.

I just had the same issue

screenshot from 2017-08-29 21-33-26

screenshot from 2017-08-29 21-33-40

Edit: clearing the cache in riot fixed it.

I have the same problem, can't accept nor decline invitation if the room does not exist anymore:

bildschirmfoto zu 2017-09-08 21-08-57

Okay, so it looks like it's still happening (event though I can't reproduce it reliably) - P2 minor because it doesn't seem to be happening a lot and can be worked around by refreshing the cache, but it is pretty smelly :(

Hi @lampholder thanks for your answer! What do you mean with "can be worked around by refreshing the cache"? Refreshing the cache in the vector client didn't solve it. Is there another way to delete the invitations? For example in the database? If you need any more information for debugging, I'm happy to provide them.

I also have this in a room where the homeserver lost state, not the client. Harder to reproduce, but just as a point of information.

Ah @rexometer sorry - I was basing that on @Qwertie- 's statement that refreshing the cache fixed their problem - it could well be that there are multiple classes of problem here and that client cache refreshing can't fix all of them :(

I have had a similar looking issue with one invite for a long time. I believe the room I am invited too doesn't exist anymore (or is empty).

Flushing cache through the button in settings does not resolve the issue on my side.

2341 would be a good enough solution for me.

Since it sounds like some of these invites can't be gotten rid of at all I think that warrants a higher priority.

Can also confirm I am now having this with an invite.
image

@Half-Shot clear cache
and it'll magically go away :)

It did indeed :3

If clearing the riot cache fixes it, it's #3743 / matrix-org/synapse#2181

so we think this is a dup of #3743.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MurzNN picture MurzNN  Â·  3Comments

turt2live picture turt2live  Â·  3Comments

anoadragon453 picture anoadragon453  Â·  3Comments

PureTryOut picture PureTryOut  Â·  3Comments

bagage picture bagage  Â·  3Comments