Skip to content

Hosted Halls

A Hall on your node stays up when you sign out. Your node hosts it, so people on other nodes can find it, join it and talk in it while nobody on your node is signed in. This page covers what that means for a Hall's Stewards, its members, and the people who share rooms.

One behaviour on this page is marked may change, because it is how the first build works and it is still waiting on a decision. One is marked changing, because the decision has been made and the build that carries it has not landed.


Your node hosts your Halls

Every Hall on a node is hosted by the node itself, not by the person who founded it. The node starts hosting at boot, before anyone signs in, and keeps hosting when people sign in and out. A room you share with share room is hosted the same way. A shared capsule is the exception, because it runs services under its owner's grants, so its owner still hosts it.

Hosting is not moderating. The node keeps the Hall reachable and passes messages between its members, but it grants nothing, signs nothing on anyone's behalf, and makes no decisions at the door. The Hall's founder stays its founder, and its Stewards keep its authority. The founder is a member of the Hall's presence from the moment it is founded, and again at each sign-in.

Since 0.2.236 every line of Hall text is signed by the person who wrote it, and each member checks the signature before the line is shown, so the hosting node cannot put words in anyone's name. Live voice and avatar movement are still named by the hosting node, and members take that name on trust. See Who wrote a line.

An invite to a Hall or a shared room names the node, not the person who made it, because the node is what answers:

join riverside#K7Q2MA hall:riverside <the node's AID> tor=<the node's onion> vdht=<the node's record key>

The node's name is set with set node name.

How people on other nodes find it

The node registers its own name with the directory at boot and keeps the registration fresh, signed by the node's key. A person on another node who pastes the invite string reaches the node through the line's Tor and Veilid addresses first, and through the directory after 5 seconds, with nobody on your node signed in. After set node name, the node registers the new name at its next refresh, which takes up to four minutes.

A Steward of the Hall, or the owner of a shared room, can also get a short code for it, made for the node. There is none for an invite_only or members_only Hall, and the node limits how many it makes in an hour. See Short Codes for a Hall or a Shared Room.

Residency no longer switches hosting

set hall residency used to ask the node to keep a Hall up while its founder was away. Every Hall is now kept up, so the setting still records a value but changes nothing, and its replies say so:

Residency of 'riverside' set to off. This node hosts every Hall whether or not its founder is signed in, so 'riverside' stays up and reachable; residency no longer changes that.

set hall residency on gives the matching reply, and on a knock or invite_only Hall it adds that nobody will be there to accept knocks while you are away.

Names on a node (may change)

Because one node hosts every Hall, a Hall's name is unique on the node. A shared room's name is unique only within its collection, meaning the rooms of one Hall or the rooms one person shares from their own Home. So two people, or two Halls, may each share a room named den. Since 0.3.106 a shared room's presence is named room:<collection>/<room>, where the collection is the Hall's name or the owner's handle, such as room:mira#4Q7K2M/garden. A second Hall with a name already in use on the node, or a second room with a name already in use in the same collection, is refused:

Error: a Hall named 'riverside' is already hosted on this node. Choose another name.
Error: a room named 'garden' is already shared in your rooms. Rename yours to share it.

In a Hall the room sentence names the Hall instead, is already shared in the Hall 'riverside'. The Hall refusal tells you that someone on the node already uses the name. A Hall's name is public through the Harbor anyway, and a shared room's name is shared by design. If the node cannot host a room when you share it, the reply is Error: this node could not host room 'garden' right now.

Names that look the same

The node compares names by how they look, not only by their letters. A name is shown exactly as you typed it, but two names collide when they would look the same on screen. The comparison ignores case and invisible characters such as a zero-width space, folds fullwidth letters to ordinary ones, and matches letters from different scripts that look alike, such as Cyrillic а and Latin a, or rn and m. A look-alike of a name already in use is refused:

Error: a Hall named 'gаrden' looks the same as 'garden', which is already hosted on this node. Choose another name.
Error: a room named 'Annex' looks the same as 'Annex', which is already shared in your rooms. Rename yours to share it.

The same check applies to account names. Signing up with a look-alike of an existing account is refused with That name looks the same as an account already on this node. Choose another name., and that reply does not say which account, because anyone can try a sign-up. An identity import with a look-alike name is refused too.

A Hall or room name must also be written in one script. Digits, spaces and punctuation go with any script, and Japanese, Korean, and Chinese with Bopomofo each count as one script. A name that mixes scripts is refused when you found the Hall or create the room, even when nothing like it exists yet:

Error: 'gаrdеn' mixes Cyrillic and Latin letters. A name here is written in one script (digits, spaces and punctuation go with any), so that it cannot be made to look like another name. Choose a name in one script.

A name in one non-Latin script, such as сад or 東京タワー, is accepted and shown as typed.

The check has limits. It uses Unicode's own table of look-alike characters, so a pair that table does not list is not caught. Because case is folded first, a capital I does not meet a lowercase l. Before 0.3.0 a name with an invisible character was accepted, with the character kept, when nothing like it existed yet. Since 0.3.0 such a name is refused before this check runs (see the next section).

Names the node cannot host

A Hall's name must be one word of at most 59 characters, and a shared room's name one word of at most 32 (since 0.3.106), with no spaces or other whitespace, and a : only between two other characters. Letters, digits and punctuation such as -, _ and ' are allowed, so otto's-Home is a valid name. The node checks this before it writes anything:

Error: 'my hall' cannot be a Hall name: a Hall name is one word of at most 59 characters, with no spaces or other whitespace, and a ':' only between two other characters (letters, digits and punctuation such as '-' or '_' are allowed).

found hall checks it when you found the Hall. A room can be created with a space in its name, such as create ~room "my den", and is checked when you share it, with cannot be a shared room name. Revoking a share is never refused.

Since 0.3.0 a name may not carry a control character or an invisible format character either. That covers an escape sequence, a right-to-left override, a zero-width space, and the joiner that builds emoji such as a family. A Hall name is printed on every member's screen, so a name that carried one could redraw a member's terminal or hide part of itself. The reply shows the name with each such character written as its backslash code:

Error: 'garden\u202eevil' cannot be a Hall name: it carries a control or invisible format character (shown above as a backslash code). Type the name without it.

The same rule covers a shared room's name, a presence's name, and a board's id and name (Cannot create that board: a board's id and name may not carry control or format characters ...). A board named before 0.3.0 that breaks the rule is kept, and its name is shown escaped in the board list. Reading it answers Board '<id>' has a stored name carrying control or format characters, which this version refuses to show; its owner can delete it and make it again. An invite code whose Hall name breaks the rule is refused with Invite code '<code>' was refused: the Hall name it carries is not a valid one. Registry: INJ-16. Before 0.2.234 a Hall with a space in its name was founded and never hosted. Such a Hall stays unhosted, because there is no rename. Remove it with destroy hall.


The door while you are away

A Hall's door works the same with nobody signed in. An open Hall lets people walk in. A knock or invite_only Hall queues each arrival, and the queue waits until a Steward answers it with knocks and accept. A members_only Hall admits people when two Trusted members vouch for them, so it can take in newcomers with no Steward present.

What a stranger is told. Every closed door answers someone on another node with the same sentence, and so does a name the node does not host. A knock door still queues the knock first. The reply cannot tell a stranger whether the Hall exists:

Error: the host of hall:riverside did not let you in. Cannot join 'hall:riverside' now. If 'hall:riverside' is here and takes requests, yours is waiting for its keepers.

When the node shares Halls or presences whose doors are open or knock, the reply ends with Shared here: and their names, which the node already publishes. An invite_only or members_only Hall is never in that list. Someone whose knock was rejected, or who was removed, gets a reply that says so.

Who is told. When someone knocks at, joins or leaves a node-hosted Hall, the node tells the door's keepers who are signed in on this node, once each. For a Hall the keepers are its Stewards, and for a shared room the keeper is the room's owner. Since 0.3.119, when a keeper accepts a knock, the person who knocked is told The keepers of <presence> let you in. Join it again to go in: join <host> <presence>, and their next join takes them in. Other members are not told, and the person the event is about is never told of themselves. A keeper who is signed out, or on another node, sees the waiting knocks with knocks. The node does not tell keepers on other nodes directly, and will not until there is a way to reach them across nodes.

Stewards who did not found the Hall (changing). The Hall lives on the node, not in the founder's own space, and a founder's sign-in brings back only the Halls they founded. In this build a Steward on the same node who did not found the Hall can join its presence and see its knocks with knocks, but cannot walk into it, so the commands that work from inside the Hall (accept, set hall, kick) are out of their reach. This will change. Every Steward will be able to walk into the Halls they steward.


When a hosting node goes away

This section is about the other side: a Hall or presence you are in that another node hosts. Since 0.3.113 your node checks that the host is still there. If the host blocks you, or the person whose presence it is signs out, your node moves you out in about three to four minutes.

The bound. If the hosting node cannot be reached for more than about 315 seconds, your membership ends. That includes a desktop that hosts a Hall and goes to sleep. Your node first closes the stale connection and dials the host once. An answer keeps you in, and a refusal or no answer ends it, about six minutes after the host went away. Since 0.3.114, when the host's node can be reached again, your node rejoins once, as an ordinary join that the host's door decides. A membership the host ended, by blocking you or because the person signed out, is not rejoined, and neither is one you left. You can always join again yourself.

A Hall your own node hosts is never ended this way, because your node is its host. So a Hall meant to stay reachable for people on other nodes is best hosted on a node that stays awake.


Unsharing a room

share room garden revoke

Unsharing a room closes its presence. Everyone in it is told the room was closed, and the reply counts them:

Revoked sharing on room 'garden'. Presence 'room:mira#4Q7K2M/garden' is closed, and its 3 member(s) were told it closed.

Each member leaves the room's presence, and over SSH they read:

garden was closed by mira#4Q7K2M; you are no longer in it.

The room itself still exists. Only its share has ended. A member whose node runs an older release sees the kick sentence instead, You were removed from room:mira#4Q7K2M/garden by mira#4Q7K2M., and still leaves the room.

share room <room> <person> revoke is different. It withdraws one person's admission and leaves the room shared.

A Hall has no unshare. It ends when it is destroyed.


Destroying a Hall or a shared room

destroy hall riverside

When a Hall is destroyed, each member of its presence, on every node, is told before the Hall is taken down, and it leaves their clients. Over SSH the line reads:

riverside was destroyed by mira#4Q7K2M.

A shared room that is destroyed does the same. A member whose node runs an older release sees the kick sentence instead, You were removed from hall:riverside by mira#4Q7K2M., and still loses the Hall.


Speaking and live voice in a hosted Hall

Speech in a node-hosted Hall goes through the node for members on the node and on other nodes alike. A line the Hall does not take is reported, never shown as sent:

Error: your say in room 'garden' was not delivered: <why>.
Error: your message to hall:riverside was not delivered: <why>.

Since 0.2.239 a line the Hall took, but could not pass to every member, says who missed it. The node adds one line to the speaker's answer for say and chat alike:

You say "hello"
Not delivered to: <member>, <member> (no route to them right now).

The named members are the ones the node had no transport to at that moment. Everyone else received the line. Before 0.2.239 a say in a Hall the node hosts did not go through the node at all. It reached only people in the same place on that node, and the speaker read (No one else is here to hear you) while visitors from other nodes heard nothing. It now goes through the node the same way chat does.

Since 0.3.0 a host that has not yet checked the name a speaker signs with holds their line while it checks, for up to 20 seconds, so the check never stalls the host. The speaker then reads Held for a name check: "<message>". You will be told here if it is not delivered. in place of You say. If the line then fails, a plain-text session reads [WARN] Message to <name> failed: <reason>, such as not delivered: the name check took too long; say it again in a moment, and the Urchin client shows that the message was not sent (DOS-32).

Joining and staying in over Veilid

Since 0.3.0 the host sends its answer to a join down every live connection it has to the joiner, not only the one the join came on. Over Veilid a send counts as made once the local daemon takes it, so before 0.3.0 the answer could be lost there while a Tor connection between the two nodes sat unused, and the joiner read [PENDING] (TPT-145). A member is also no longer dropped from a Hall when their own node refreshes its Veilid route (TPT-146).

A host drops a member it cannot reach over Veilid only when no other connection to them is up. While a Tor connection between the two nodes still works, the member stays in and their next line goes by Tor. A member who is dropped is told once, if a connection between the two nodes they proved comes up within ten minutes, or when they next say something in the Hall within that time. The Urchin client says You were taken out of <presence> because its host could not reach you. You were not kicked, so join it again to come back. A plain-text session reads You were dropped from <presence>: its host could not reach this node. Join it again to come back. The Hall stays in your list and needs no Steward to let you back. Past ten minutes nothing tells you, and you find out when your next line in the Hall is refused.

Since 0.3.0 a Hall line, a join and its answer, a leave and a kick each ask the far node to confirm them when they travel over Veilid, because Veilid does not report a message lost on its way to a private route. When no confirmation comes back within about 12 seconds and the connection does not answer a check, the node closes that Veilid connection, and the next line goes on a new Veilid connection or by Tor. A connection that answers but loses a line is closed when it loses a second one within a minute. The lost line itself is not sent again (see Known Issues).

Live voice and pose reach members on other nodes over Veilid. Members on the same node now hear and see each other too: the node passes their frames straight to each member's client that has asked for them.

When a Steward runs set hall voice or set hall pose, the node that hosts the Hall tells every current member at once, on this node and on other nodes. A member's talk and face controls change without a look, and a microphone or camera that is open closes with a line such as Live voice was switched off in hall:<name>, so your microphone is closed. A plain-text session reads Hall '<name>' now has voice off and pose on. A member's node passes the change on only when it runs 0.2.234 or later. On an older member node the client learns at its next look. The hosting node refuses a stream while the setting is off either way, so a control that has not caught up shows a stale state and does not open a way around the setting. An SSH session receives no events, so it is not told.

Who wrote a line

Every Hall or room line is signed by its sender's account with that account's current key, and nothing is sent unsigned (adl/hall_line_documents.py:118-157). The hosting node checks each line before it passes it on: the line must be for this Hall, signed by the account the connection proved, and no more than 5 minutes in the future (adl/hall_line_documents.py:192-221). Each member's node checks it again before the line is shown. It checks that the line was signed by the sender's current key, that the signed name belongs to that sender, that the line was not seen before, and that its time is within 5 minutes of the member's own clock (captp/message_router.py:328-418). A member whose node does not yet hold the sender's key history asks the host for it and shows the line when it arrives.

A line that fails a member's check is dropped without a word. It is not shown, not marked and not answered, and nothing reports the count (captp/message_router.py:338-341).

When the hosting node refuses a line, what the sender sees depends on where they are:

Error: your message to hall:riverside was not delivered: A Hall line must be signed by its sender.
Error: the host of <presence> did not take your message. A Hall line must be signed by its sender

The first is a member on the hosting node, and the second a member on the same node as a presence its owner hosts. A member on another node is not told and reads only their own You: echo, because a line over the network is sent one way (verbs/unified_verbs.py:3840-3874). The refusal reads the same whatever the cause, including clock skew. A sender whose node cannot sign reads Error: your message to <presence> could not be signed: <why>., and nothing is sent.

Keep your clock right. A sender more than 5 minutes ahead is refused by the host and by every member. A sender more than 5 minutes behind is passed on by the host, and members who joined recently drop the line (adl/hall_line_documents.py:37).

A member's node checks at most 64 key histories a minute for each Hall it has joined, so a Hall with more than 64 members fills in over a few minutes when you join (captp/message_router.py:199-202).

In the Urchin client, the Hall window says under its header:

Text in this Hall is signed by the person who wrote it. Voice and avatar movement are named by the Hall's host, so trust those names only as far as you trust the host.

A line the node did not mark as checked shows with (unverified) in front of it, in a dimmer colour. A node on 0.2.236 or later marks every line it shows, so you see the mark only on a line from a node older than BREAK1.

Live voice and avatar movement are not signed by the speaker yet. A member's node labels them with the name the hosting node sends (captp/message_router.py:617-647). End-to-end signing for them is planned (E2EE-02).

A member who joins a Hall again while already in it is admitted again. Since 0.2.241 the clients on the hosting node are not told a second time, so a keeper no longer sees <name> entered <presence>. repeated (captp/message_router.py:1984-2027).

Line breaks and control characters

A line break inside someone's message arrives as its escape, such as \n, so one message is always one line on a plain-text session and nobody can write a second line that looks like someone else's. Since 0.2.234 the same holds for every other control character and for the invisible Unicode format characters. An escape sequence arrives as \x1b[1A and cannot move your cursor, a tab arrives as \t, and a right-to-left override or a zero-width space arrives as \u202e or \u200b in plain sight, so no message can redraw your terminal or hide part of itself. Emoji built with a joiner, such as a family, arrive whole. This applies to plain-text sessions. The Urchin client receives the structured message unchanged.

Since 0.3.0 the same escaping covers text another node wrote that your node prints in a reply of its own. That includes a capsule's answer to @capsule_invoke and its error, a post quoted back after react, a host's reason for refusing a join, the names look shows in a room on another node, names found by @discover, offered grants, shared media rows and a far node's reason for a failed connection. Before 0.3.0 such text reached a plain-text session as sent (INJ-17).


Reactions

Since 0.2.244 you can react to a line in a Hall, or to a board post, with one of ten reactions: plus one, heart, thanks, laugh, smile, wow, sad, afraid, angry and disgust (adl/schema.py:153-161). The set is closed, so a name outside it is refused by the host and by every member. The Urchin client offers them in a picker under a line. Typed, react heart reacts to the last line you were shown, react heart ^2 to the one before it, and react heart --remove takes a reaction back. Reactions have word names, so +1 reads plus one where a word is shown.

A reaction is signed by the person who made it and names the line it answers by the line's own signed id, so it cannot be moved to another line or another Hall. The hosting node relays it only for a line it relayed and a member who is in the Hall, and each member checks it again before counting it. A member who blocked you never sees or counts your reaction, and nothing tells you so. Your own reaction counts once. A plain-text session hears [<presence>] <name> reacted <word>, or took back <word> when one is removed. Before 0.3.0 only a session on the hosting node heard that sentence, and every other member in a plain-text session saw a raw line of data instead (SUP-82).

Since 0.3.0 the author of a line sees the reactions to it, once each. Before, a member counted a reaction only on a line it had been shown, and the hosting node never shows a speaker their own line, so the author's node dropped every reaction to the author's own line (SUP-84). That held for a member on another node and for the founder on the hosting node. Typed, react heart ^1 now counts the lines you sent as well as the ones you were shown. A reaction naming a line nobody sent still shows nowhere.

Media in a Hall

A note you recorded can be shared into a Hall you are in with media share <id> <presence>, or from the client. Since 0.3.0 this works for the founder and for anyone signed in on the node that hosts the Hall. Before, the hosting node treated their own note as one arriving from elsewhere and answered Media row not accepted (SUP-83). The hosting node relays a note only when its signature shows that the person sharing it recorded it, or that its recorder let anyone share it on, and it relays its own stored copy rather than what the share sent. A member on another node still cannot make the host relay a note held on the host.

Since 0.3.0 every share carries a record signed by the person sharing, naming the note and the Hall. The host checks it before it relays the note, and each member's own node checks it again before the note plays, so a changed host or sharer node cannot pass off a note as shared by someone else. A note shared on reads recorded by <author>, shared by <sharer>. A note that someone you blocked recorded or shared on does not play for you. See media for opening a note with media reshare <id> anyone.

On a board, a reaction is kept beside the post and served to anyone who may read the board. When the post's author has blocked the reactor, the reaction is kept but shown only to the person who made it, and the author and every other reader never see or count it. A reader on another node receives the signed reactions themselves, so their node checks each one rather than trusting a count.

Your avatar's appearance

Since 0.2.244 the body and colours you choose in the avatar chooser are signed by your account and passed to every member of each Hall you join, with no further step. The chooser says so. A member whose device does not hold the body you chose sees the placeholder and can download the body from their own chooser.

Quests for a Hall's members

A Steward standing in their Hall can give its members quests of four kinds:

quests hall add join Say hello at the door
quests hall add chat Introduce yourself
quests hall add enter Find the workshop
quests hall add read Read the notices board
quests hall remove 2

A join quest is marked when a member arrives, and a chat quest when they type chat and a line in the Hall. An enter quest is marked the first time they walk into one of the Hall's rooms past its hub, and a read quest the first time they read one of its boards. A Hall holds up to 8 quests, and they can change 20 times a day. A removed quest's number is not used again.

The Hall's node marks them, so the quests reach only members who have an account on that node. A member who joined from another node does not receive them. An enter quest needs a room open past the one members arrive in. Every Hall is founded with welcome, general and governance, so this refusal comes up only when none of those is hosted:

This Hall has no room open past the one members arrive in, so nobody could do an enter quest yet. Nothing was added.

Blocking someone in a Hall

A block holds inside a node-hosted Hall or shared room. If you have blocked someone with block, you no longer receive what they say in the Hall, their live voice and pose, or the media they share there.

You still see them join and leave, and they stay in the member list. The block filters one direction only, so they still hear what you say. Hiding their arrival would leave you speaking in front of someone you cannot see. A block does not remove anyone from a Hall and does not tell them anything, and their own messages still show as sent on their side. To take someone out of a Hall, a Steward uses kick.

Your node does the filtering. For text, it uses the signed sender of each line, so the hosting node cannot get a blocked person's words past your block under another name (captp/message_router.py:408-413). For live voice, pose and shared media it still uses the sender the hosting node names, until those are signed too.