Recover background chat observers from durable live membership

This commit is contained in:
2026-11-07 16:33:49 +00:00
parent 9c67415c22
commit 132a94192a
13 changed files with 700 additions and 59 deletions
+1
View File
@@ -53,6 +53,7 @@ func (h *chatHub) noteActivityLocked(sessionID string) {
if sessionID == "" {
return
}
h.rememberLiveLocked(sessionID)
next := h.chatActivityLocked(sessionID)
previous := h.activity[sessionID]
if previous.TurnRunning == next.TurnRunning && previous.BackgroundTasks == next.BackgroundTasks {