Skip to content

Commit dc1f084

Browse files
committed
fix(telegram): satisfy legacy sender lint
1 parent 8fe9b5b commit dc1f084

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extensions/telegram/src/bot-handlers.runtime.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ function hasLegacyPromptContextTimestamp(
209209
// private timestamp marker is their durable outbound provenance.
210210
return (
211211
isTelegramMessageFromCurrentBot(node.sourceMessage, botUserId) ||
212-
(node.sourceMessage.from?.id === 0 && node.sourceMessage.from.is_bot === true)
212+
(node.sourceMessage.from?.id === 0 && node.sourceMessage.from.is_bot)
213213
);
214214
}
215215

0 commit comments

Comments
 (0)