mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-25 10:53:44 +03:00
Fix date empty (#4191)
This commit is contained in:
parent
9b1d9aa672
commit
e928fbdac0
|
@ -689,7 +689,7 @@ class MessageBox:
|
||||||
updates=diff.other_updates,
|
updates=diff.other_updates,
|
||||||
users=diff.users,
|
users=diff.users,
|
||||||
chats=diff.chats,
|
chats=diff.chats,
|
||||||
date=epoch(),
|
date=epoch() + datetime.timedelta(seconds=1),
|
||||||
seq=NO_SEQ, # this way date is not used
|
seq=NO_SEQ, # this way date is not used
|
||||||
), chat_hashes, updates)
|
), chat_hashes, updates)
|
||||||
|
|
||||||
|
@ -798,7 +798,7 @@ class MessageBox:
|
||||||
updates=diff.other_updates,
|
updates=diff.other_updates,
|
||||||
users=diff.users,
|
users=diff.users,
|
||||||
chats=diff.chats,
|
chats=diff.chats,
|
||||||
date=epoch(),
|
date=epoch() + datetime.timedelta(seconds=1),
|
||||||
seq=NO_SEQ, # this way date is not used
|
seq=NO_SEQ, # this way date is not used
|
||||||
), chat_hashes, updates)
|
), chat_hashes, updates)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user