mirror of
https://github.com/cdryzun/tg_bot_collections.git
synced 2025-08-05 13:16:42 +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