Files
Moltbot/src
hsrvc ac45c8b404 fix: preserve Telegram topic (message_thread_id) in sub-agent announcements
When native slash commands are executed in Telegram topics/forums, the
originating topic context was not being preserved. This caused sub-agent
announcements to be delivered to the wrong topic.

Root cause: Native slash command context did not set OriginatingChannel
and OriginatingTo, causing session delivery context to fallback to the
user's personal ID instead of the group ID + topic.

Fix: Added OriginatingChannel and OriginatingTo to native slash command
context, ensuring topic information is preserved for sub-agent announcements.

Related session fields:
- lastThreadId: preserved via MessageThreadId
- lastTo: now correctly set to group ID via OriginatingTo
- deliveryContext: includes threadId for proper routing
2026-01-24 12:26:29 +00:00
..
2026-01-18 08:54:00 +00:00
2026-01-24 12:23:44 +00:00
2026-01-24 12:23:44 +00:00
2026-01-24 12:23:44 +00:00
2026-01-21 23:05:11 +00:00
2026-01-24 03:46:27 +00:00
2026-01-24 10:48:33 +00:00
2026-01-21 05:34:53 +00:00
2026-01-23 19:53:01 +00:00
2026-01-24 12:23:44 +00:00
2026-01-24 10:25:42 +00:00
2026-01-20 13:52:59 +00:00
2026-01-23 09:07:43 +00:00
2026-01-24 10:48:33 +00:00
2026-01-21 01:58:47 +00:00
2026-01-18 19:34:21 +00:00
2026-01-18 03:55:14 +00:00