Fix channel history retrieval parameter in RSS generator

This commit is contained in:
vvzvlad
2025-02-09 06:04:27 +03:00
parent 7c9fd859d7
commit 893bb02a40
+1 -1
View File
@@ -256,7 +256,7 @@ async def generate_channel_html(channel: str, post_parser: Optional[PostParser]
# Collect messages
messages = []
async for message in post_parser.client.get_chat_history(channel_id, limit=limit):
async for message in post_parser.client.get_chat_history(channel, limit=limit):
messages.append(message)
# Process messages into groups and render them