Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Unable to join/leave a remote room over federation under certain condition #3369

Closed
liyuntao opened this issue Jun 8, 2018 · 5 comments
Closed

Comments

@liyuntao
Copy link

liyuntao commented Jun 8, 2018

Assuming we have two servers over federation, which is local and remote.

There's a local user called A, send an invite to remote user called B. Before B accept/reject the invitation. A kicked B out of the room. Since the kick event will not be sent to remote server, and B is not member of the room currently(after being kicked), a notification bar of invention will always appear on the B's client side (result of replay invite event?) and cannot disappear. Whichever button you clicked would lead to an error.

@richvdh
Copy link
Member

richvdh commented Jun 8, 2018

B should be able to reject the invite, though he will then need to clear his client cache due to #2181.

@liyuntao
Copy link
Author

liyuntao commented Jun 8, 2018

I've just tried several times in webclient under Chrome's Incognito mode. (Can Incognito mode eliminate the impact of the client-side cache?)

Currently On B's client side, calling leave API will result 200. But the invention notice cannot disappear immediately.

Finally the invention-notice disappeared several minutes, or after I restart the remote server(User B's local server), seems affected by server-side cache.

@richvdh
Copy link
Member

richvdh commented Jun 8, 2018

I've just tried several times in webclient under Chrome's Incognito mode. (Can Incognito mode eliminate the impact of the client-side cache?)

Not entirely, no. You'd have to reject the invite and then start a new client under incognito mode.

Sounds like a duplicate of #2181

@richvdh richvdh closed this as completed Jun 8, 2018
@liyuntao
Copy link
Author

liyuntao commented Jun 8, 2018

Steps to reproduce

  • @user01:serverA invite @user02:serverB
  • @user01:serverA kick @user02:serverB
  • @user02:serverB reject the invention(calling /_matrix/client/api/v1/rooms/:roomId/leave )
  • @user02:serverB refresh the page. Invention notice still there.

@richvdh
Copy link
Member

richvdh commented Jun 8, 2018

refreshing the page doesn't clear the cache.

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

No branches or pull requests

2 participants