mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-05 06:24:37 +00:00
Remove unreliable conditions from Telegram environment detection in useAuthSource: - window.Telegram !== undefined: Always true due to unconditional SDK loading - window.self !== window.top: Causes false positives in iframe scenarios Only keep URL parameter detection (tgWebApp in search/hash) which is reliable. This prevents 5-second polling delay before login page displays on PC browser.