Fix Telegram /activation command and improve group docs#377
Closed
julianengel wants to merge 5 commits intoopenclaw:mainfrom
Closed
Fix Telegram /activation command and improve group docs#377julianengel wants to merge 5 commits intoopenclaw:mainfrom
julianengel wants to merge 5 commits intoopenclaw:mainfrom
Conversation
- Add detailed explanation of group activation modes (requireMention) - Document /activation command (mention vs always) - Clarify two-level access control: group allowlist + sender policy - Add troubleshooting section for common issues - Explain that telegram.groups creates an allowlist - Add instructions for getting group chat ID Fixes confusion around group setup where /activation command updates session state but doesn't persist or take effect.
The /activation command now properly controls group activation mode: - Loads session state before filtering messages - Checks groupActivation field (from /activation command) - Falls back to config telegram.groups requireMention setting Previously, the bot only checked config and ignored session state, making the /activation command appear to work but have no effect. Changes: - Add resolveGroupActivation() to check session before config - Import loadSessionStore to read session state early - Pass messageThreadId to support forum topics correctly
Contributor
|
Landed on main. Applied activation/session changes + docs + tests; added changelog entry; ran full gate (lint/build/test/docs). Commits: |
dgarson
added a commit
to dgarson/clawdbot
that referenced
this pull request
Feb 9, 2026
openclaw#377) * Web: replace mock domain data * Web: honor overseer goal status
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.
Fix Telegram group activation and improve documentation
Problem
Root Cause
Solution
Code Fix (src/telegram/bot.ts)
Documentation (docs/providers/telegram.md)
Testing
Migration Impact