mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 04:02:42 +00:00
fix(telegram): cron and heartbeat messages land in wrong chat instead of target topic (#19367)
Merged via /review-pr -> /prepare-pr -> /merge-pr.
Prepared head SHA: bf02bbf9ce
Co-authored-by: Lukavyi <1013690+Lukavyi@users.noreply.github.com>
Co-authored-by: obviyus <22031114+obviyus@users.noreply.github.com>
Reviewed-by: @obviyus
This commit is contained in:
@@ -637,6 +637,7 @@ export async function runHeartbeatOnce(opts: {
|
||||
channel: delivery.channel,
|
||||
to: delivery.to,
|
||||
accountId: delivery.accountId,
|
||||
threadId: delivery.threadId,
|
||||
payloads: [{ text: heartbeatOkText }],
|
||||
agentId,
|
||||
deps: opts.deps,
|
||||
@@ -832,6 +833,7 @@ export async function runHeartbeatOnce(opts: {
|
||||
to: delivery.to,
|
||||
accountId: deliveryAccountId,
|
||||
agentId,
|
||||
threadId: delivery.threadId,
|
||||
payloads: [
|
||||
...reasoningPayloads,
|
||||
...(shouldSkipMain
|
||||
|
||||
Reference in New Issue
Block a user