This commit is contained in:
@@ -67,7 +67,7 @@ async def search_in_chats(
|
||||
if days_ago:
|
||||
mmm = list(
|
||||
filter(
|
||||
lambda msg: int(datetime.now(tz=timezone.utc)) - int(msg["createdAt"])
|
||||
lambda msg: int(datetime.now(tz=timezone.utc)) - int(msg["created_at"])
|
||||
< int(timedelta(days=days_ago)),
|
||||
mmm,
|
||||
)
|
||||
|
Reference in New Issue
Block a user