spaces
spaces copied to clipboard
fix: stale connectionId
Instead of assigning the connectionId once in the space's constructor, it should be taken directly from the ably client. This ensures that the connectionId stays in sync even after a disconnect e.g. when the machine hibernates.
Hi @bastiankistner ! Thank you for spotting the issue and opening a PR. It LGTM, and we're going to merge it once tests are passing (there is a sandbox issue right now preventing some tests to pass, not related to this PR)