multica/apps/gateway/telegram
Jiayuan Zhang d6393c6718 fix(gateway): remove cleanupPendingRequests that rejects all concurrent users
cleanupPendingRequests() iterated the service-wide pendingRequests Map
and rejected every entry. Since it was called from connectUser's catch
block (a per-user error path), one user's connection failure would
spuriously reject other users' in-flight verify RPCs.

The call was also redundant: sendVerifyRpc already cleans up its own
entry in all failure paths (timeout, RPC error, route failure).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 01:31:33 +08:00
..
short-code-store.ts feat(gateway): add Telegram QR deep link connection flow 2026-02-14 00:30:01 +08:00
telegram-format.ts feat(gateway): port Desktop Telegram channel features to Gateway webhook bot 2026-02-13 22:06:43 +08:00
telegram-user.store.ts fix(gateway): persist Telegram users to JSON file when no database 2026-02-14 00:48:17 +08:00
telegram.controller.ts feat(gateway): add Telegram QR deep link connection flow 2026-02-14 00:30:01 +08:00
telegram.module.ts refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
telegram.service.ts fix(gateway): remove cleanupPendingRequests that rejects all concurrent users 2026-02-14 01:31:33 +08:00
types.ts refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00