[GH-ISSUE #1378] [chat] Team prefixes are omitted from chat messages #405

Closed
opened 2026-11-02 15:38:50 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @rdbtCVS on GitHub (Oct 23, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1378

Shared parity bug at 83fa14e51b89eab728b8e233e9e5d95296bef93d, reproduced with both explicit singleplayer mode flags.

Reproduce:

  1. /team add audit_team
  2. /team modify audit_team prefix {"text":"[TEAM] "}
  3. /team join audit_team @s
  4. Send an ordinary message, /say hello, or /tell @s hello.

Expected: chat uses the team-formatted display name, including [TEAM] .

Actual: both modes use only Player. Team command feedback correctly contains [TEAM] Player, so team membership and prefix were applied. This is missing text, separate from threaded color loss (#1372).

Evidence: two fresh pairs, .local/singleplayer-audit/chat-{c,e}/teams-*/result.json and team-chat.png. Native 26.3 native-chat-team-reference/chat-components.jsonl shows the same prefix in the sender component of /say, /me and whisper packets.

Hypothesis: chat formats names from the raw profile name instead of the team's display-name component.

Acceptance: ordinary and command chat use the current team prefix/suffix and name style in both modes, including after team changes.

Originally created by @rdbtCVS on GitHub (Oct 23, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1378 Shared parity bug at `83fa14e51b89eab728b8e233e9e5d95296bef93d`, reproduced with both explicit singleplayer mode flags. Reproduce: 1. `/team add audit_team` 2. `/team modify audit_team prefix {"text":"[TEAM] "}` 3. `/team join audit_team @s` 4. Send an ordinary message, `/say hello`, or `/tell @s hello`. Expected: chat uses the team-formatted display name, including `[TEAM] `. Actual: both modes use only `Player`. Team command feedback correctly contains `[TEAM] Player`, so team membership and prefix were applied. This is missing text, separate from threaded color loss (#1372). Evidence: two fresh pairs, `.local/singleplayer-audit/chat-{c,e}/teams-*/result.json` and `team-chat.png`. Native 26.3 `native-chat-team-reference/chat-components.jsonl` shows the same prefix in the sender component of `/say`, `/me` and whisper packets. Hypothesis: chat formats names from the raw profile name instead of the team's display-name component. Acceptance: ordinary and command chat use the current team prefix/suffix and name style in both modes, including after team changes.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#405
No description provided.