Update main.py

Co-authored-by: Eugene Evstafev <36392751+chigwell@users.noreply.github.com>
This commit is contained in:
Bayram Annakov 2025-12-26 13:47:05 -08:00 committed by GitHub
parent 700c01b2d3
commit d504e5fa45
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -952,7 +952,9 @@ async def list_chats(chat_type: str = None, limit: int = 20) -> str:
chat_info += f", Unread: {unread_count}" chat_info += f", Unread: {unread_count}"
elif unread_mark: elif unread_mark:
chat_info += ", Unread: marked" chat_info += ", Unread: marked"
else:
chat_info += ", No unread messages"
results.append(chat_info) results.append(chat_info)
if not results: if not results: