Skip to content

fix(telegram): route multi-bot @mentions exclusively#28535

Merged
teknium1 merged 4 commits into
mainfrom
hermes/hermes-6063e704
May 19, 2026
Merged

fix(telegram): route multi-bot @mentions exclusively#28535
teknium1 merged 4 commits into
mainfrom
hermes/hermes-6063e704

Conversation

@teknium1

Copy link
Copy Markdown
Contributor

Salvage of #24581 (@OCWC22). Fixes Telegram group routing when multiple Hermes bot profiles are present in the same group: a message that explicitly @mentions one bot could still wake another bot through reply/regex wake-words. New telegram.exclusive_bot_mentions config gates other bots from responding when a specific bot is mentioned.

Authorship preserved across 3 commits via cherry-pick. 45/45 group-gating + mention-boundary tests passing.

@teknium1 teknium1 merged commit da48be1 into main May 19, 2026
@teknium1 teknium1 deleted the hermes/hermes-6063e704 branch May 19, 2026 05:54
@github-actions

Copy link
Copy Markdown
Contributor

🔎 Lint report: hermes/hermes-6063e704 vs origin/main

ruff

Total: 0 on HEAD, 0 on base (➖ 0)

🆕 New issues: none

✅ Fixed issues: none

Unchanged: 0 pre-existing issues carried over.

ty (type checker)

Total: 8950 on HEAD, 8950 on base (➖ 0)

🆕 New issues: none

✅ Fixed issues: none

Unchanged: 4700 pre-existing issues carried over.

Diagnostics are surfaced as warnings — this check never fails the build.

@alt-glitch alt-glitch added type/bug Something isn't working platform/telegram Telegram bot adapter comp/gateway Gateway runner, session dispatch, delivery P2 Medium — degraded but workaround exists labels May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/gateway Gateway runner, session dispatch, delivery P2 Medium — degraded but workaround exists platform/telegram Telegram bot adapter type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants