From e928fbdac07b06730c8f6ef109a11126e2583f50 Mon Sep 17 00:00:00 2001 From: Kacnep89 <76146578+Kacnep89@users.noreply.github.com> Date: Wed, 6 Sep 2023 19:47:46 +0500 Subject: [PATCH] Fix date empty (#4191) --- telethon/_updates/messagebox.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/telethon/_updates/messagebox.py b/telethon/_updates/messagebox.py index 6502f7a4..ac961bf2 100644 --- a/telethon/_updates/messagebox.py +++ b/telethon/_updates/messagebox.py @@ -689,7 +689,7 @@ class MessageBox: updates=diff.other_updates, users=diff.users, chats=diff.chats, - date=epoch(), + date=epoch() + datetime.timedelta(seconds=1), seq=NO_SEQ, # this way date is not used ), chat_hashes, updates) @@ -798,7 +798,7 @@ class MessageBox: updates=diff.other_updates, users=diff.users, chats=diff.chats, - date=epoch(), + date=epoch() + datetime.timedelta(seconds=1), seq=NO_SEQ, # this way date is not used ), chat_hashes, updates)