Skip to content

feat(chats): add rename --for-me - #78

Open
salmonumbrella wants to merge 2 commits into
beeper:mainfrom
salmonumbrella:feat/chats-rename-for-me
Open

salmonumbrella wants to merge 2 commits into
beeper:mainfrom
salmonumbrella:feat/chats-rename-for-me

Conversation

@salmonumbrella

Copy link
Copy Markdown
Contributor

What changed

  • beeper chats rename --chat X --for-me --title <name> sets a name for a chat that only you see, like "Edit for Me" in Beeper Desktop.
  • beeper chats rename --chat X --for-me --clear removes it.
  • Without --for-me, chats rename sends the same request as before.
  • --for-me is refused on a merged chat and on a member of one, with a pointer to the plain rename. Desktop ignores the private name on those.
  • It writes the room account data Desktop writes (de.gematik.msc4431.room.name.private, {"name": ...}, or {} to clear) through the Desktop API's Matrix passthrough. The user ID comes from the matrix account in GET /v1/accounts.

Why

chats rename changes the chat's title through PATCH /v1/chats/{id}. For a 1:1 chat what I usually want is my own name for the person, without touching anything on their side or on the network. Desktop has that as "Edit for Me" and the CLI had no way to reach it.

Usage

beeper chats rename --chat 10313 --for-me --title "Alice (work)"
beeper chats rename --chat 10313 --for-me --clear

Writing, reading back and clearing the account data were checked against Beeper Desktop 4.3.366. What I have not checked is whether Desktop shows a name written this way on an ordinary chat without a restart. The tests here run against a mocked server.

Refs #75

salmonumbrella and others added 2 commits November 30, 2026 15:04
Sets or clears a chat name only you see, the room account data Beeper
Desktop's Edit for Me writes, through the Desktop API's Matrix passthrough.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant