Skip to content

feat(cmd/tg): support resolving self and ID in watch filter - #270

Open
xf22001 wants to merge 1 commit into
gotd:mainfrom
xf22001:main
Open

feat(cmd/tg): support resolving self and ID in watch filter#270
xf22001 wants to merge 1 commit into
gotd:mainfrom
xf22001:main

Conversation

@xf22001

@xf22001 xf22001 commented Aug 20, 2026

Copy link
Copy Markdown

Enhance watch peer filter resolution to support:

  • "me" and "self" aliases to resolve the current user.
  • "id:" format to resolve cached peer IDs directly.

Also refactored peer self aliases ("me", "self") into global constants to avoid code duplication across peers and test files, and added comprehensive unit tests.

Enhance watch peer filter resolution to support:
- "me" and "self" aliases to resolve the current user.
- "id:<ID>" format to resolve cached peer IDs directly.

Also refactored peer self aliases ("me", "self") into global
constants to avoid code duplication across peers and test files,
and added comprehensive unit tests.
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.

1 participant