Skip to content

Restore private message replies - #11

Merged
NeverBehave merged 1 commit into
masterfrom
codex/private-message-replies
Sep 23, 2026
Merged

NeverBehave merged 1 commit into
masterfrom
codex/private-message-replies

Conversation

@NeverBehave

Copy link
Copy Markdown
Collaborator

Summary

  • extract text-message handling into a dedicated Worker handler
  • route Telegram message updates through that handler
  • add a regression test for private-chat replies with the same spaced format

Verification

  • corepack yarn test
  • WRANGLER_LOG_PATH=/tmp/kongebot-wrangler-private.log corepack yarn run build

@NeverBehave
NeverBehave marked this pull request as ready for review September 23, 2026 08:13
Copilot AI lite review requested due to automatic review settings September 23, 2026 08:13
@NeverBehave
NeverBehave merged commit cfb2274 into master Sep 23, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The reviewed changes and regression coverage address the requested behavior with no unresolved blocking issues.

Review effort: Lite
Findings: None

What changed in this PR

Restores private-message replies by extracting text-message handling into a dedicated Worker handler and adding regression coverage.

Changes:

  • Added handleTextMessage for validation and reply handling.
  • Routed message updates through the new handler.
  • Added private-chat spacing regression coverage.
File Description
test/​index.test.js Tests private-chat text-message replies.
index.js Adds and wires the text-message handler.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

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