Telethon/telethon/_updates
Lonami Exo 8ae75db862 Sort updates preemptively
Closes #3936.

There are two changes made to ensure the first update in a channel
cannot be lost, first by always sorting updates before applying pts,
and second by cautiously initializing the local pts if the client
had no pts known beforehand.

It might be possible to cleanup the handling of possible gaps now
that updates are always sorted, but that requires more thought.
2022-11-20 22:51:59 +01:00
..
__init__.py Handle bans when getting difference 2022-05-23 11:41:59 +02:00
entitycache.py Backport v2 MessageBox 2022-05-13 12:29:58 +02:00
messagebox.py Sort updates preemptively 2022-11-20 22:51:59 +01:00
session.py Add repr to updates session types for easier debugging 2022-05-16 09:36:13 +02:00