fix(telegram): change drop_pending_updates to False on startup (#2686)

This commit is contained in:
Flo 2026-04-01 11:47:41 +03:00 committed by Xubin Ren
parent 8b4d6b6512
commit 3ada54fa5d

View File

@ -310,7 +310,7 @@ class TelegramChannel(BaseChannel):
# Start polling (this runs until stopped)
await self._app.updater.start_polling(
allowed_updates=["message"],
drop_pending_updates=True # Ignore old messages on startup
drop_pending_updates=False # Process pending messages on startup
)
# Keep running until stopped