Telethon/telethon
Lonami Exo 6d2a5dada5 Fix PERSISTENT_TIMESTAMP_EMPTY for new entries with pts 1, count 0
Because Telegram can't actually use 0 for the pts, it uses 1, even
if the count is 0. This forces the next update to use 2, or else it
could not be fetched when using an offset of 1 (despite the count
being 0 on the first update, which should not have bumped the second
update to use 2).

This caused Telethon to create an initial state of 0 for the new entry
(and also "incorrectly" detected following updates as gaps, which
would quickly trigger the call to get difference with a bad pts).

Now Telethon is aware of this special-case and will not initialize
state as 0, even if that's not the "correct" thing to do.
2022-12-22 20:30:38 +01:00
..
_updates Fix PERSISTENT_TIMESTAMP_EMPTY for new entries with pts 1, count 0 2022-12-22 20:30:38 +01:00
client Introduce trace-level logs to MessageBox 2022-12-17 23:13:06 +01:00
crypto Revert "Use tgcrypto if available (#1715)" 2021-03-20 17:20:33 +01:00
errors Don't reset the auth_key upon receiving -404 2022-05-12 12:03:48 +02:00
events Fix events.Album did not have chat in PM 2022-09-20 17:54:05 +02:00
extensions del_surrogate for HTML inline URLs 2022-09-20 18:18:26 +02:00
network Handle DestroyAuthKey result more gracefully 2022-10-21 15:52:00 +02:00
sessions Remove missed async keywords from the revert 2022-08-30 12:40:05 +02:00
tl Don't unnecessarily refetch the sender twice 2022-10-03 13:11:48 +02:00
__init__.py Make custom, functions and types proper modules 2022-09-20 12:59:36 +02:00
custom.py Make custom, functions and types proper modules 2022-09-20 12:59:36 +02:00
entitycache.py Add EntityCache.clear 2021-06-19 18:32:23 +02:00
functions.py Make custom, functions and types proper modules 2022-09-20 12:59:36 +02:00
helpers.py Fix get_running_loop usage in Python3.6 (#3941) 2022-10-02 19:05:11 +02:00
hints.py Fix Python 3.5.2 type hinting (#1177) 2019-06-28 21:26:08 +02:00
password.py Remove unused imports and variables 2020-07-04 13:29:43 +02:00
requestiter.py Avoid explicitly passing the loop to asyncio 2020-07-25 18:39:35 +02:00
sync.py Avoid unnecessary await in Conversation 2019-08-13 18:11:02 +02:00
types.py Make custom, functions and types proper modules 2022-09-20 12:59:36 +02:00
utils.py Recognize invite links with plus sign prefix 2022-09-20 10:57:52 +02:00
version.py Bump to v1.26 and update layer to 149 2022-11-25 18:23:28 +01:00