element-hq / element-call

Group calls powered by Matrix
https://call.element.io
Apache License 2.0
554 stars 88 forks source link

ECall can think you are joined to rooms that you've left #2359

Closed AndrewFerr closed 3 months ago

AndrewFerr commented 4 months ago

Steps to reproduce

  1. Open Element Web & Element Call, and log in with the same account for both
  2. Accept an invite to a non-private, encrypted room with Element Web (knock rooms work best)
  3. Join a call in that room in Element Call (just to confirm that the call works)
  4. End the call in Element Call
  5. Leave or be removed from the room in Element Web
  6. Refresh the Element Call page

Outcome

What did you expect?

Element Call shouldn't show the room in the recents list, because you are no longer a member of it.

What happened instead?

Element Call may show the room & allow you to start a call in it, but doesn't actually join you to the room (as it thinks you have already joined). This means you won't receive media streams of other users for calls in that room.

This doesn't always happen though, and if you wait on the ECall home page for long enough, the room might eventually disappear from the recents list.

In any case, it wouldn't hurt if ECall were to refresh is cache of joined rooms more often.

Operating system

Fedora

Browser information

Firefox 125.0.2

URL for webapp

No response

Will you send logs?

No