diff --git a/adapters/telegram/src/polling.ts b/adapters/telegram/src/polling.ts index d0f64b79..d4e74af7 100644 --- a/adapters/telegram/src/polling.ts +++ b/adapters/telegram/src/polling.ts @@ -65,7 +65,7 @@ export class HttpPolling extends Adapter.Client { } _retryCount++ bot.status = 'reconnect' - this.timeout = setTimeout(() => polling(), retryInterval) + this.timeout = setTimeout(polling, retryInterval) } } polling()