diff options
author | George Hazan <george.hazan@gmail.com> | 2024-01-01 20:10:50 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-01-01 20:10:50 +0300 |
commit | 6bfb0fc3e5fcbcb36829d9283c4900427c7682c2 (patch) | |
tree | 431d0fc430b00b61f0e5aff431d2439cfa659539 | |
parent | 88c3f01f12fc89d2b4572c24d0e450c7d16fc5a1 (diff) |
fixes #4093 (Jabber: диалог с информацией о групчате просит подключиться, хотя протокол уже в сети)
-rw-r--r-- | protocols/JabberG/src/jabber_userinfo.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
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;
}
}
|