diff options
Diffstat (limited to 'packages/meshbay-hub')
| -rw-r--r-- | packages/meshbay-hub/src/meshbay_hub/static/search-page.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/search-page.js b/packages/meshbay-hub/src/meshbay_hub/static/search-page.js index 61565e8..ba2ae63 100644 --- a/packages/meshbay-hub/src/meshbay_hub/static/search-page.js +++ b/packages/meshbay-hub/src/meshbay_hub/static/search-page.js @@ -314,7 +314,7 @@ async function fetchGroupIndex(pool, groupId, token, bundleKey, username, userId // Which of the reader's groups sit on their own node — the tie-breaker // when the same file is announced by several of them // (docs/MESHBAY_DESIGN.md §9.11). Computed by the node from its own - // record of who it belongs to (webrtc_server.py's _is_node_admin), never + // record of who it belongs to (webrtc/admin.py's _is_node_admin), never // from a hub claim, and deliberately not written to the index cache: it // describes this connection, not the group's content. return { entries: indexMsg.entries || [], roots, isNodeAdmin: !!ack.is_node_admin }; @@ -734,7 +734,7 @@ function SearchPage({ token, username, userId, groups, onPlayQueue, userPrefs }) // How a unit's source is chosen, shared by every merged view // (docs/MESHBAY_DESIGN.md §9.11). `isLocal` reads the flag the node itself // put in the handshake ack — computed from its own record of who it belongs - // to (webrtc_server.py's `_is_node_admin`), never from a hub claim. + // to (webrtc/admin.py's `_is_node_admin`), never from a hub claim. const mergeOpts = useMemo(() => ({ salt: userId || '', isLocal: (gid) => { |