Skip to content

Match commands addressed to active bot usernames - #327

Merged
negasus merged 1 commit into
mainfrom
fix/active-username-commands
Nov 26, 2026
Merged

negasus merged 1 commit into
mainfrom
fix/active-username-commands

Conversation

@negasus

@negasus negasus commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

Follow-up to #324. Use the primary and active usernames returned by getMe when routing addressed commands. Copy the names before returning the API result and discard them when switching bot IDs.

Tested with go test -race ./... and go vet ./....

@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 64.96%. Comparing base (284495d) to head (aa2d9bb).
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #327      +/-   ##
==========================================
- Coverage   64.99%   64.96%   -0.03%     
==========================================
  Files          41       41              
  Lines        3568     3571       +3     
==========================================
+ Hits         2319     2320       +1     
- Misses       1192     1193       +1     
- Partials       57       58       +1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@negasus
negasus merged commit a8a6c74 into main Nov 26, 2026
3 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