mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-09 05:19:41 +00:00
Fix date empty (#4191)
This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user