From 6bfb0fc3e5fcbcb36829d9283c4900427c7682c2 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 1 Jan 2024 20:10:50 +0300 Subject: =?UTF-8?q?fixes=20#4093=20(Jabber:=20=D0=B4=D0=B8=D0=B0=D0=BB?= =?UTF-8?q?=D0=BE=D0=B3=20=D1=81=20=D0=B8=D0=BD=D1=84=D0=BE=D1=80=D0=BC?= =?UTF-8?q?=D0=B0=D1=86=D0=B8=D0=B5=D0=B9=20=D0=BE=20=D0=B3=D1=80=D1=83?= =?UTF-8?q?=D0=BF=D1=87=D0=B0=D1=82=D0=B5=20=D0=BF=D1=80=D0=BE=D1=81=D0=B8?= =?UTF-8?q?=D1=82=20=D0=BF=D0=BE=D0=B4=D0=BA=D0=BB=D1=8E=D1=87=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=D1=81=D1=8F,=20=D1=85=D0=BE=D1=82=D1=8F=20=D0=BF=D1=80?= =?UTF-8?q?=D0=BE=D1=82=D0=BE=D0=BA=D0=BE=D0=BB=20=D1=83=D0=B6=D0=B5=20?= =?UTF-8?q?=D0=B2=20=D1=81=D0=B5=D1=82=D0=B8)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protocols/JabberG/src/jabber_userinfo.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/protocols/JabberG/src/jabber_userinfo.cpp b/protocols/JabberG/src/jabber_userinfo.cpp index 6688a21ee1..1c3130c586 100644 --- a/protocols/JabberG/src/jabber_userinfo.cpp +++ b/protocols/JabberG/src/jabber_userinfo.cpp @@ -433,7 +433,10 @@ public: if (item == nullptr) { m_tree.DeleteAllItems(); HTREEITEM htiRoot = FillInfoLine(nullptr, IcoLib_GetIconByHandle(ppro->m_hProtoIcon), L"JID", jid, sttInfoLineId(0, INFOLINE_NAME), true); - FillInfoLine(htiRoot, g_plugin.getIcon(IDI_VCARD), nullptr, TranslateU("Please switch online to see more details.")); + if (ppro->m_bJabberOnline) + FillInfoLine(htiRoot, g_plugin.getIcon(IDI_VCARD), nullptr, TranslateU("Received VCard does not contain any information.")); + else + FillInfoLine(htiRoot, g_plugin.getIcon(IDI_VCARD), nullptr, TranslateU("Please switch online to see more details.")); return false; } } -- cgit v1.2.3