zebra-spaces: drop cohost-succession soft warning — room dies on host-grace expiry
Matches signal 0d5d6fa. Cohost cannot extend the room (no chime authority), so space-closing always means 'this is going to end' — removed the will_close=false branch.
This commit is contained in:
parent
f45e9563aa
commit
3a6b80e3f4
1 changed files with 8 additions and 13 deletions
|
|
@ -2925,17 +2925,12 @@ async function handleSignal(raw){
|
|||
}
|
||||
break;
|
||||
case 'space-closing':
|
||||
/* server arms this for the full grace window every time the host
|
||||
* leaves. will_close=true means the room actually ends if nobody
|
||||
* reclaims; will_close=false means a cohost will succeed the host
|
||||
* at expiry so the room stays open either way. */
|
||||
if (m.will_close === false){
|
||||
logLine('', 'host away — cohost will succeed in '+m.grace_seconds+'s if host doesn\'t return');
|
||||
setStatus('host away — cohost succession in '+m.grace_seconds+'s', 'warn');
|
||||
} else {
|
||||
logLine('err','space closing in '+m.grace_seconds+'s — '+m.reason);
|
||||
setStatus('host left — space closing in '+m.grace_seconds+'s', 'err');
|
||||
}
|
||||
/* host left — 2h deadman is running. Only the host can chime to
|
||||
* extend; cohosts can moderate the room during the absence but
|
||||
* cannot keep the room alive. Room WILL close at grace expiry
|
||||
* unless the host reclaims. */
|
||||
logLine('err','space closing in '+m.grace_seconds+'s — '+m.reason);
|
||||
setStatus('host left — space closing in '+m.grace_seconds+'s', 'err');
|
||||
break;
|
||||
case 'error':
|
||||
logLine('err','signal: '+m.message);
|
||||
|
|
@ -3622,8 +3617,8 @@ logLine('', 'ready — pick a handle, type a rendezvous code, enter the space');
|
|||
|
||||
<footer style="margin:2.2rem auto 0;font-size:0.65rem;color:#999;line-height:1.7;word-break:break-all;font-family:monospace">
|
||||
<span id="pi-seal" style="color:#777;cursor:default;user-select:none" title="">page integrity</span> · built <span class="stamp-date">2026-06-02</span><br>
|
||||
md5 <span class="stamp-md5">10e2788f6e51aa1cef858547583e2698</span><br>
|
||||
sha256 <span class="stamp-sha">619494744ad0f8db36a2b9d127ccfe443972b3602c5a3a689c99d208d626840f</span><br>
|
||||
md5 <span class="stamp-md5">88a1041dc605ad408b4bfd87fa8d441e</span><br>
|
||||
sha256 <span class="stamp-sha">24867165e436c9d417bdb3709bac7ddf1f374a0ffbf95b84742d00423e645dc7</span><br>
|
||||
<span style="color:#bbb">hashes are of this page with these two fields zeroed — to verify, blank them and re-hash</span><br>
|
||||
<span style="color:#bbb">one self-contained file — <strong>save a copy</strong> and verify against these hashes; point at your own servers with ?signal= and ?turncred=, or <a href="host-your-own.html" style="color:#999">host your own community</a></span>
|
||||
</footer>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue