2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-28 12:57:52 +00:00

Fix offset_date not being an integer timestamp

Closes #1003
This commit is contained in:
Dan 2022-05-26 11:30:20 +02:00
parent f7c678855d
commit c5958fc0c4

View File

@ -102,7 +102,7 @@ class SearchGlobal:
last = messages[-1] last = messages[-1]
offset_date = last.date offset_date = utils.datetime_to_timestamp(last.date)
offset_peer = await self.resolve_peer(last.chat.id) offset_peer = await self.resolve_peer(last.chat.id)
offset_id = last.id offset_id = last.id