Repository navigation
feat(chats): add rename --for-me - #78
Open
salmonumbrella wants to merge 2 commits into
Open
salmonumbrella wants to merge 2 commits into
salmonumbrella wants to merge 2 commits into
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 --clearremoves it.--for-me,chats renamesends the same request as before.--for-meis 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.de.gematik.msc4431.room.name.private,{"name": ...}, or{}to clear) through the Desktop API's Matrix passthrough. The user ID comes from thematrixaccount inGET /v1/accounts.Why
chats renamechanges the chat's title throughPATCH /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 --clearWriting, 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