Skip to content

Commit ceeec63

Browse files
fix(doc): the transport's host under Architect's presence key, which a node's relay reads (#192)
1 parent 530812e commit ceeec63

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

‎crates/session/src/doc.rs‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,11 @@ const REGIONS: &str = "regions";
7474
const LANES: &str = "lanes";
7575
const ITEMS: &str = "items";
7676
const EXTENSIONS: &str = "extensions";
77-
/// Where the session's transport is hosted (`host`: the node serving its
78-
/// presence and clock), session#192.
79-
const TRANSPORT: &str = "transport";
77+
/// Where the session's presence (its transport, and the clock its peers
78+
/// share) is hosted: `host`, the node serving it (session#192). The same
79+
/// root and key as Architect's `crdt::presence::presence_host`, which a
80+
/// node's relay reads to route an extension's presence there.
81+
const TRANSPORT: &str = "presence";
8082

8183
/// Writing the document failed.
8284
#[derive(Debug)]

0 commit comments

Comments
 (0)