This commit is contained in:
unknown 2025-10-04 00:44:32 +03:00
parent 94782618c0
commit 83cf48212b

View File

@ -146,10 +146,13 @@ class ChatListView(QWidget):
if chat.chat_type == "self": if chat.chat_type == "self":
companion_name = "Избранное" companion_name = "Избранное"
elif chat.chat_data and 'login' in chat.chat_data: elif chat.chat_data and 'login' in chat.chat_data:
if chat.chat_data['full_name']: print("=============================")
companion_name = chat.chat_data['full_name'] print("chat.chat_data", chat.chat_data)
print("=============================")
if chat.chat_data['custom_name']:
companion_name = chat.chat_data['custom_name']
else: else:
companion_name = chat.chat_data['login'] companion_name = "@"+chat.chat_data['login']
else: else:
companion_name = "Неизвестный" companion_name = "Неизвестный"