#338: forget a file's barred addresses when its session closes

The hub kept the addresses removed from every file it ever had open. The
entry now goes when the file is closed (everyone left) or removed from the
server, so a long-running public server doesn't keep collecting them.
This commit is contained in:
bflatastic
2026-10-15 18:41:10 +07:00
parent 8bcb0f78dd
commit aeeb1a7cde
4 changed files with 65 additions and 5 deletions
+1 -1
View File
@@ -1092,7 +1092,7 @@ only: a host stops hosting it, a guest leaves it.
pan or zoom of your own, or Escape).
- `collab.removePerson {client}` removes that person from the session: they are told the session
is over for them (they keep their copy and don't reconnect), and their address can't join the
file again while the session (or the server) runs. Only the person hosting, or the owner of a
file again while the session runs. Only the person hosting, or the owner of a
file on a server (with its owner token), can; a server older than this request says it can't.
Returns `{removed, name}`.
- `collab.cursorChat {text}` shows `text` next to your cursor for everyone in the session (put the