diff --git a/telethon/_updates/messagebox.py b/telethon/_updates/messagebox.py index 28e41bba..da10100f 100644 --- a/telethon/_updates/messagebox.py +++ b/telethon/_updates/messagebox.py @@ -42,7 +42,7 @@ POSSIBLE_GAP_TIMEOUT = 0.5 # client will resume normal operation, and the timeout will reset. # # Documentation recommends 15 minutes without updates (https://core.telegram.org/api/updates). -NO_UPDATES_TIMEOUT = 15 +NO_UPDATES_TIMEOUT = 15 * 60 # Entry "enum". # Account-wide `pts` includes private conversations (one-to-one) and small group chats. diff --git a/telethon/version.py b/telethon/version.py index 38fe5b63..a8524931 100644 --- a/telethon/version.py +++ b/telethon/version.py @@ -1,3 +1,3 @@ # Versions should comply with PEP440. # This line is parsed in setup.py: -__version__ = '1.25.3' +__version__ = '1.25.4'