mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-31 06:04:57 +00:00
* fix(telegram): propagate forum topic names into agent context The topic-name-cache already tracks forum topic names via forum_topic_created/edited/closed events in bot-message-context, but this metadata was not surfaced in two key paths: 1. The native-command handler (bot-native-commands.ts) builds the agent context payload with IsForum but never looked up the cached topic name. Now it resolves the topic name from the cache and includes TopicName in the context, giving agents awareness of which forum topic they are responding in. 2. The action runtime (action-runtime.ts) executes createForumTopic and editForumTopic actions but never persisted the resulting topic metadata back to the cache. Now both actions write the topic name (and optional icon metadata) to the cache after success, ensuring subsequent messages in those topics can resolve the name. Closes #86024 Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca> * fix(telegram): scope forum topic cache updates --------- Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca> Co-authored-by: Peter Steinberger <steipete@gmail.com>