fix(telegram): satisfy topic reply lint

Co-authored-by: Codex <codex@openai.com>
This commit is contained in:
Cody's OpenClaw
2026-06-07 10:03:39 -04:00
committed by Ayaan Zaidi
parent 733152127b
commit e2db55373d
@@ -108,8 +108,8 @@ function resolveTelegramNativeReplyRootThreadId(params: {
return undefined;
}
const chainRootId = [...params.replyChain]
.reverse()
const chainRootId = params.replyChain
.toReversed()
.map((entry) => normalizeTelegramNativeThreadMessageId(entry.messageId))
.find(Boolean);
const directReplyId =