Update main.py
Co-authored-by: Eugene Evstafev <36392751+chigwell@users.noreply.github.com>
This commit is contained in:
parent
041bf0dbec
commit
adc6ef4c7c
1 changed files with 0 additions and 1 deletions
1
main.py
1
main.py
|
|
@ -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}"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue