mirror of
https://github.com/block/buzz.git
synced 2026-11-27 19:52:31 +00:00
## Problem Two follow-ups to growable DMs (#9153), matching desktop block/buzz-app#3744: 1. When an agent's add policy blocks a DM, mobile shows a generic error. The person can't tell which agent blocked it or whose owner to ask. 2. DM names list every member, agents included, so a DM with one person and their agent reads like a group, and "+N more" mixes agents with people. ## Change **Name the blocking agent.** The relay names the agent in that refusal (#9601). Mobile shows the agent's name: "Only Scout's owner can add it to a DM." or "Scout can't be added to a DM.", starting with "Couldn't add them." when adding to an existing DM, and "this agent" when the name can't be read. Against a relay without #9601, the error is the same as before. **Leave agents out of DM names.** A DM's name lists its people and never its agents, unless no other person is in it (just you and agents), when it names the agents. "+N more" counts people only. Member counts and member lists still include agents. The shared DM label feeds the list, headers, details and Activity. Agent means the profile's existing agent flag; a profile that hasn't loaded yet counts as a person until it says otherwise. ## Screenshots Temporary headless renders with test data, not committed. ### Name the blocking agent Add people, refused by an agent's owner-only setting: | | Light | Dark | |---|---|---| | Narrow |  |  | | Wide |  |  | ### DM names without agents Ana alone, Ana with two agents (named "Ana", count still 3), and only the two agents (named by them): | | Light | Dark | |---|---|---| | Narrow |  |  | | Wide |  |  | ## Tests - Blocking agent: an open and an add name the agent, fall back to "this agent", and leave other refusals as they were. - DM names: people and agents, only agents, more than three people and agents, and a profile that hasn't loaded yet. The lost-reply recovery was taken out after review. It comes back as a relay change that answers a replayed signed command with its saved result, so the app can resend the same event instead of guessing from rosters. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com> Co-authored-by: Carl <c217fe6b9d958f41c3a5e030dccc7f626775a923089cb6491305eade75ea1f1b@buzz.block.builderlab.xyz> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>