Skip to content

computer: Slack echo of a web message names the owner, not usr_… - #1065

Merged
motatoes merged 1 commit into
mainfrom
fix/echo-owner-name
Nov 18, 2026
Merged

motatoes merged 1 commit into
mainfrom
fix/echo-owner-name

Conversation

@opencomputer-app

Copy link
Copy Markdown
Contributor

Messages sent from the web now reach the runner over the wire, whose actor carries only the member id (computer/src/wire/edge-auth.ts actorFor, name null). The runner's actorOf falls back to the id, so the Slack thread showed *usr_x035…* from the web:.

The echo now names the owner by their own name (personName(owner), which the runner already has), and anyone else whose name is unknown as "Someone", never the id. Posting as the user (sayAs, #1060) is unchanged.

Requested by @mohamed Habib in Slack.

Tests: new case in api.test.ts; computer suite 1004/1004, tsc clean.

@manicule-agent

Copy link
Copy Markdown

View docs preview
Commit fb397d0 · 80 pages

Docs hosted with Margin

@motatoes
motatoes merged commit 9193e8c into main Nov 18, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants