aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/src/meshbay_hub/static/transport-devices.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-hub/src/meshbay_hub/static/transport-devices.js')
-rw-r--r--packages/meshbay-hub/src/meshbay_hub/static/transport-devices.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/transport-devices.js b/packages/meshbay-hub/src/meshbay_hub/static/transport-devices.js
index 8dbb6c0..f079f80 100644
--- a/packages/meshbay-hub/src/meshbay_hub/static/transport-devices.js
+++ b/packages/meshbay-hub/src/meshbay_hub/static/transport-devices.js
@@ -23,7 +23,10 @@ extendTransport(class {
* at first sight, where there is nothing to compare against โ€” that boundary
* is `docs/MESHBAY_DESIGN.md` ยง3.2's and does not move.
*/
- async groupRoster() {
+ async groupRoster({ fresh = false } = {}) {
+ // `fresh`: read it again rather than keep this connection's copy, for a
+ // page that lists the members and must show who joined since.
+ if (fresh && !this._rosterInFlight) this._roster = null;
if (this._roster) return this._roster;
if (this._rosterInFlight) return this._rosterInFlight;