matrix-js-sdk
8395919f - MatrixRTC: Fix running not representing what we need from `isJoined` in EC (#4752)

Commit
1 year ago
MatrixRTC: Fix running not representing what we need from `isJoined` in EC (#4752) * Fix running != isJoined EC expects isJoined to represent if we should be in joined state or not. It does not correlate to what our actual state of the scheduler is. We used the scheduler running state before but on leave the running state will stay true until we successfully updated the room state. EC expects isJoined to immediately be false. This introduces a member variable `activated` that represents if the MemberhsipManager is trying to connect or trying to disconnect independent on the current state. * simplify catch finally blocks
Author
Parents
Loading