mirror of
https://github.com/cdryzun/tg_bot_collections.git
synced 2026-01-14 05:14:23 +08:00
@@ -92,7 +92,7 @@ class MessageStore:
|
|||||||
WHERE chat_id = ? AND timestamp >= ?
|
WHERE chat_id = ? AND timestamp >= ?
|
||||||
ORDER BY timestamp ASC;
|
ORDER BY timestamp ASC;
|
||||||
""",
|
""",
|
||||||
(chat_id, since.isoformat()),
|
(chat_id, since.astimezone(timezone.utc).isoformat()),
|
||||||
)
|
)
|
||||||
rows = cursor.fetchall()
|
rows = cursor.fetchall()
|
||||||
return [
|
return [
|
||||||
|
|||||||
Reference in New Issue
Block a user