Repository navigation
fix(telegram): require numeric allowFrom ids in setup - #69191
Conversation
Greptile SummaryThis PR removes the Confidence Score: 5/5Safe to merge — the simplification is correct and consistent across code, tests, and docs. The removal of async username resolution is clean: the dead code path, its dependencies, and related test stubs are all excised together. The new resolveEntries is a simple synchronous map that correctly returns { resolved: false, id: null } for non-numeric input. No regressions observed in the changed logic. No files require special attention. Reviews (1): Last reviewed commit: "docs(telegram): clarify allowFrom setup ..." | Re-trigger Greptile |
Telegram setup no longer offers
@usernameresolution forallowFrom, which relied on an unsupported Bot API lookup path for DM users. Setup now requires numeric sender IDs and the Telegram docs/tests are aligned with that behavior.