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:46:46 -08:00 committed by GitHub
parent 041bf0dbec
commit adc6ef4c7c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -947,7 +947,6 @@ async def list_chats(chat_type: str = None, limit: int = 20) -> str:
getattr(inner_dialog, "unread_mark", False)) getattr(inner_dialog, "unread_mark", False))
if inner_dialog else False if inner_dialog else False
else False else False
)
if unread_count > 0: if unread_count > 0:
chat_info += f", Unread: {unread_count}" chat_info += f", Unread: {unread_count}"