aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/src/meshbay_hub/static/transport.js
diff options
context:
space:
mode:
authorChristophe Besson <cbesson@gmail.com>2026-10-08 01:12:01 +0200
committerChristophe Besson <cbesson@gmail.com>2026-10-08 01:12:01 +0200
commitcdd5fd52e981c4c59643e7dee705b6c55acae68e (patch)
tree3aea907ab1f494b8e8fbecf72ef16edcf4f6ae52 /packages/meshbay-hub/src/meshbay_hub/static/transport.js
parented0c680790950354f15fb5835e1d7b213efa1bf8 (diff)
downloadmeshbay-cdd5fd52e981c4c59643e7dee705b6c55acae68e.tar.gz
fix(hub): re-read the roster before saying a key changed
A member invited after the roster was read showed "key changed" on each message until a reload. Read it again once per account and device on the connection, shared by concurrent messages, and pin only the final verdict. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-hub/src/meshbay_hub/static/transport.js')
-rw-r--r--packages/meshbay-hub/src/meshbay_hub/static/transport.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/transport.js b/packages/meshbay-hub/src/meshbay_hub/static/transport.js
index 9dcea4f..fa5d28b 100644
--- a/packages/meshbay-hub/src/meshbay_hub/static/transport.js
+++ b/packages/meshbay-hub/src/meshbay_hub/static/transport.js
@@ -1247,6 +1247,7 @@ class MeshBayTransport {
this._chatKeysInFlight = null;
this._roster = null;
this._rosterInFlight = null;
+ this._rosterRechecks = null;
// Tell the node which of this account's devices is on this connection,
// after the ack and unconditionally: a peer `check_version` admitted
// speaks this message, and identifying the device is what makes chat