From e2db55373d14482f344569e0896d9df968a9aab2 Mon Sep 17 00:00:00 2001 From: Cody's OpenClaw Date: Sun, 7 Jun 2026 10:03:39 -0400 Subject: [PATCH] fix(telegram): satisfy topic reply lint Co-authored-by: Codex --- extensions/telegram/src/bot-message-context.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/telegram/src/bot-message-context.ts b/extensions/telegram/src/bot-message-context.ts index 734f1ef329a6..db329d04a3d1 100644 --- a/extensions/telegram/src/bot-message-context.ts +++ b/extensions/telegram/src/bot-message-context.ts @@ -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 =