From e394f1dc24a2a5701e49ca6ad2e10b3a2182881a Mon Sep 17 00:00:00 2001 From: dhkatz Date: Thu, 29 Oct 2026 05:07:30 -0700 Subject: [PATCH] hub: send an empty outfit as a list Co-Authored-By: Claude Opus 5.5 --- internal/hub/hub.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/hub/hub.go b/internal/hub/hub.go index 339115f..e7bd134 100644 --- a/internal/hub/hub.go +++ b/internal/hub/hub.go @@ -273,7 +273,7 @@ func (c *Client) connect(ctx context.Context) error { sentID, sentOutfit := int64(-1), "" for { c.mu.Lock() - id, outfit := c.imvuID, append([]Item(nil), c.outfit...) + id, outfit := c.imvuID, append([]Item{}, c.outfit...) // a list, never null c.mu.Unlock() if id != sentID && id != 0 { if err := send(map[string]any{"type": "session", "imvu_id": id}); err != nil {